Commit 3b5a635
Sdk package methods adoption (#2943)
* sdkPackage-methods-adoption
* remove client server
* reserve work
* sdk client type
* sdk client type
* Modular Emitter Options
* encode and format etc
* add initial network analytics generation
* hierarchies fixes
* generate subscriptionId at client level
* subscription id fix
* fix options and headers map
* create client fix
* fix paging return type
* restore poller fix
* fix deserialize func return type
* fix unit test
* to not include extra body parameters
* fix serialize and deser for spread
* fix parameter name normalization
* Update packages/typespec-ts/test/modularUnit/scenarios/operations/cookieParam/ignoreCookieParam.md
* fix encoding
* fix collection format
* fix paging item name and next link name
* fix path constant param
* remove some unnecessary as any
* fix nullable param serialize and deserialize
* fix constant content-type header and optional spread body ser/deser
* add option?
* fix content type
* fix endpoint request url
* fix hierarchies
* fix a bunch issues in smoke test
* fix endpoint undefined case
* fix default encoding as base64
* fix unit test
* fix paging helper missing
* fix restorePollingHelper non lro deser map
* reserve work
* fix hierarchies in modular
* fix group name empty string
* fix unit test
* fix modular integration test
* fix operation name normalize
* remove api version and send api version when build request
* fix server integration test
* fix parameter order change
* fix namespace renamed
* rlc common format
* fix model being used in both spread and unspread operations
* reserve work
* fix spread ser/deser
* fix createContext with fixed enum param
* fix path api version has default value
* fix param name and operation name conflict
* fix content type and optional params
* fix revert bytes logic
* revert api version as context property change
* add apiVersion in the client level but remove the policy in operation level if not query
* fix hasCollectionFormat
* fix removePolicy and datetime nullable ser/der
* fix ci
* clean up unused modular models code
* fix ci
* fix ci
* fix ci
* resolve comments
* fix paging in unbranding
* revert client method map
* to not expose contentType and accept as parameter or optional parameter and spread optional headers
* remove optional contentType with guessed value for optional body
---------
Co-authored-by: Qiaoqiao Zhang <qiaoqiaozhang@Qiaoqiaos-MacBook-Pro.local>1 parent 8210d5b commit 3b5a635
334 files changed
Lines changed: 18701 additions & 17956 deletions
File tree
- packages
- typespec-test/test
- NetworkAnalytics.Management/generated/typespec-ts/sdk/test/arm-test
- src
- api
- dataProductsCatalogs
- dataProducts
- dataTypes
- operations
- classic
- dataProductsCatalogs
- dataProducts
- dataTypes
- ai/generated/typespec-ts
- review
- src
- api
- agents
- connections
- evaluations
- classic
- agents
- connections
- evaluations
- models
- anomalyDetector/generated/typespec-ts
- src
- api
- multivariate
- univariate
- classic
- multivariate
- univariate
- models
- batch_modular/generated/typespec-ts
- review
- src
- api
- models
- chatApi_modular/generated/typespec-ts/src
- api
- contentsafety_modular/generated/typespec-ts
- review
- src
- api
- eventgrid_modular/generated/typespec-ts
- review
- src
- api
- models
- healthInsights_radiologyinsights/generated/typespec-ts/src
- api
- models
- hierarchy_generic/generated/typespec-ts
- src
- api
- b
- c
- e/c
- d
- classic/b
- loadtesting_modular/generated/typespec-ts
- review
- src
- loadTestAdministration
- api
- loadTestRun
- api
- testProfileAdministration
- api
- testProfileRun
- api
- openai_generic/generated/typespec-ts
- review
- src
- api
- audio
- transcriptions
- translations
- chat/completions
- completions
- edits
- embeddings
- files
- fineTunes
- fineTuning/jobs
- images
- models
- moderations
- classic
- audio
- files
- fineTunes
- fineTuning/jobs
- images
- models
- models
- openai_modular/generated/typespec-ts
- review
- src
- api
- models
- openai_non_branded/generated/typespec-ts
- review
- src
- api
- audio
- transcriptions
- translations
- chat/completions
- completions
- edits
- embeddings
- files
- fineTunes
- fineTuning/jobs
- images
- models
- moderations
- classic
- audio
- files
- fineTunes
- fineTuning/jobs
- images
- models
- models
- overloads_modular/generated/typespec-ts
- review
- src
- api
- fooOperations
- classic/fooOperations
- parametrizedHost/generated/typespec-ts/src
- api
- confidentialLedger
- schemaRegistry/generated/typespec-ts
- review
- src
- api
- schemaOperations
- classic/schemaOperations
- spread/generated/typespec-ts/src
- api
- a
- classic/a
- todo_non_branded/generated/typespec-ts
- review
- src
- api
- todoItems
- attachments
- users
- classic/todoItems
- attachments
- static-helpers
- widget_dpg/generated/typespec-ts
- review
- src
- api
- budgets
- widgets
- classic/widgets
- typespec-ts
- src
- framework
- modular
- helpers
- serialization
- utils
- test
- modularIntegration
- generated
- authentication
- api-key/src
- http/custom/src
- oauth2/src
- union/src
- azure
- client-generator-core
- access/src
- flatten-property/src
- usage/src
- core
- basic/src
- lro/standard/src
- model/src
- page/src
- scalar/src
- traits/src
- resource-manager
- common-properties/src
- resources/src
- client
- naming/src
- structure
- client-operation-group/src
- default/src
- multi-client/src
- renamed-operation/src
- two-operation-group/src
- encode
- bytes/src
- datetime/src
- duration/src
- numeric/src
- parameters
- basic/src
- body-optionality/src
- collection-format/src
- spread/src
- payload
- content-negotiation/src
- media-type/src
- resiliency
- srv-driven-main/src
- srv-driven-old/src
- serialization/encoded-name/json/src
- server
- path/multiple/src
- versions
- not-versioned/src
- versioned/src
- special-words/src
- type
- array/src
- dictionary/src
- enum
- extensible/src
- fixed/src
- model
- empty/src
- inheritance
- enum-discriminator/src
- nested-discriminator/src
- not-discriminated/src
- recursive/src
- single-discriminator/src
- usage/src
- property
- additional-properties/src
- nullable/src
- optionality/src
- value-types/src
- scalar/src
- union/src
- versioning
- added/src
- removed/src
- renamedFrom/src
- typeChangedFrom/src
- modularUnit
- scenarios
- anonymous
- apiOperations
- clientContext
- enumUnion
- example
- modelsGenerator
- models
- apiVersion
- serialization
- operations
- cookieParam
- pathParam
- samples/parameters
- nonBrandedIntegration/modular/generated/models/usage/src
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 39 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 130 | + | |
149 | 131 | | |
150 | | - | |
151 | | - | |
| 132 | + | |
| 133 | + | |
152 | 134 | | |
153 | 135 | | |
154 | | - | |
155 | | - | |
| 136 | + | |
| 137 | + | |
156 | 138 | | |
157 | 139 | | |
158 | | - | |
159 | | - | |
| 140 | + | |
| 141 | + | |
160 | 142 | | |
161 | 143 | | |
162 | | - | |
163 | | - | |
| 144 | + | |
| 145 | + | |
164 | 146 | | |
165 | 147 | | |
166 | 148 | | |
| |||
181 | 163 | | |
182 | 164 | | |
183 | 165 | | |
184 | | - | |
| 166 | + | |
185 | 167 | | |
186 | | - | |
187 | | - | |
| 168 | + | |
| 169 | + | |
188 | 170 | | |
189 | 171 | | |
190 | | - | |
191 | | - | |
| 172 | + | |
| 173 | + | |
192 | 174 | | |
193 | 175 | | |
194 | | - | |
195 | | - | |
| 176 | + | |
| 177 | + | |
196 | 178 | | |
197 | 179 | | |
198 | | - | |
199 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments