Skip to content

Commit

Permalink
Update TypeSpec to latest 2024-06 release - 0.57 & 0.43 (#29440)
Browse files Browse the repository at this point in the history
* Update package.json and scripts

* Add typespec-azure-portal-core

* Fix some deprecations from valueof PR (#29126)

* [apicenter] Regen swagger to add "title" properties

* [cognitiveservices] Use TypeSpec array (#[]) instead of tuple ([]) (#29213)

* fix

* Suppress failing rules

* Fix shouldn't have `Content-Type` header

* Pin typespec versioning to 0.57.0-dev.6

* Switch back to next tag for versioning library

* Add new networking code owner (#29281)

* Sherylueen appcomplianceautomation microsoft.app compliance automation 2024 06 27 (#28981)

* Adds base for updating Microsoft.AppComplianceAutomation from version preview/2022-11-16-preview to version 2024-06-27

* Updates readme

* Updates API version in new specs and examples

* add new stable version for Microsoft.AppComplianceAutomation

* remove the useless example file

* fix spell check

* remove query in get evidence api

* remove the singleton annotation

* fix compile error

* fix compile error of v56

* fix compile error

* fix all compile error and make the swagger align with before

* tsp prettier

* change scoping name

* upgrade the commontypes from v3 to v5

* change commonTypes version to v3

* add service-dir

* format tspconfig.yaml

* modify tspconfig.yaml

* remove custom operations

* modify re pattern of snapshot name

* make the resource x-ms-client-name properties

* format typespec

* remove suffix of snapshot

* use requestBody replace parameters

* Revert "use requestBody replace parameters"

This reverts commit e4dd975.

* tsp format

* remove dotnet from tspconfig.yaml and add azure-sdk-for-net-track2 in readme

* add sdk-suppressions.yaml

* Update tspconfig.yaml

* Update tspconfig.yaml

* rename operationid

* rename getScopingQuestions and move model reportBaseProperties to alias

---------

Co-authored-by: Yanwen Liu <[email protected]>
Co-authored-by: Mark Cowlishaw <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Alancere <[email protected]>
Co-authored-by: Weidong Xu <[email protected]>

* Microsoft.ScVmm TypeSpec onboarding (#26644)

* Init tsp for Microsoft.ScVmm

* Some changes towards passing tsv

* Updates to fix lint errors, remove unused types, regenerate examples, etc.

* Created shareable 'force' param

* Figured out the incantation to rename a file case-sensitively

* Restored string bool enums.

* Removed all examples

* Regenerate examples

* Updated ARM ID properties. Added script to sort output to compare with sorted old swagger

* Additional changes.

* Removed unused XXUpdate models, Added @secret for password,

* Fixed #8, #6, #5

* Fixed #2

* Update swagger to be in sync with previous fixes.

* Workaround for CloudCapacity readonly

* Additional fixes.

* fix ModelValidation

* update void

* VM Instance Update Properties changes

* spell check and prettier validation fix

* fix for identifier bug

* workaround for Azure/typespec-azure#449

* format

* spell and prettier check improvements

* use encodedName replace projectdName

* Add summary annotations

* summary

* update kind and void

* lro azure-async-operation

* fix

* tsp compilation warning

* TypeSpec Validation fix

* Update tspconfig.yaml

* config change

* Removed Read Only Property from Examples to fix Swagger ModelValidation

* Revert Boolean to Enum with type Union in TypeSpec

* specs-pr repo PR review changes to specs repo

* Remove sorted json file used for comparison

* Fix TypeSpec PR pipeline failure

* make extendedLocation for VM Instance read and create

* typespec validation fix

---------

Co-authored-by: Will Temple <[email protected]>
Co-authored-by: Allen Zhang <[email protected]>
Co-authored-by: Alancere <[email protected]>
Co-authored-by: Harshit Surana <[email protected]>

* Imagebuilder API Release 2024-02-01 (#28896)

* Copy files from stable/2023-07-01

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to stable/2024-02-01

Updated the API version from stable/2023-07-01 to stable/2024-02-01.

* Added tag for 2024-02-01 in readme file

* copying over 2024-02-01 changes from ADO

* Revert "copying over 2024-02-01 changes from ADO"

This reverts commit aa54d74.

* adding changes from ado

* adding autorun as custom word

* adding autorun to custom-words.txt

* fixing UpdateImageTemplateVmProfile.json reference and additionalProperties error

* fixing UpdateImageTemplateVmProfile.json reference and additionalProperties error

* changing type from string back to object

* changing type from string back to object

* Revert "changing type from string back to object"

This reverts commit b0b5122.

revert commit

* Revert "fixing UpdateImageTemplateVmProfile.json reference and additionalProperties error"

This reverts commit 0e52ddf.

* referencing examples file

* writing suppression for lintdiff

* removing userassignedidentity

* fixing bad version mismatch

* fixing suppression

* prettier changes

* fixing where syntax

* fixing where suppress 2

* where suppress 3

* where supress 4

* where suppress 5

* suppressing entire file

* Update readme.md to show up documentation for preview version (#29165)

* Update readme.python.md (#29309)

* Update readme.python.md

* Update readme.md

---------

Co-authored-by: Yuchao Yan <[email protected]>

* Update readme.md (#29313)

* Add info about `SDK azure-sdk-for-*` checks and `SDK azure-powershell` to `ci-fix` doc; Clean up markdownlint rules and `ci-fix` doc. (#29311)

* Update ci-fix.md: clarify that `SDK azure-powershell` is owned by `Azure.Core`. (#29318)

* Update ci-fix.md

* Update ci-fix.md

* Update ci-fix.md

* RouteMatrix 2024-06-01-preview (#29153)

* first commit

* fix

* Add operationType

* rename to pointType

* fix

* update

* Update example

* update

* update description for default value

* update description

* Remove axleCount for RouteMatrix

* Update vehicleSpec

* update description

* Update description

* remove async result

* Revert "remove async result"

This reverts commit b7b2728.

* Remove Summary

* follow azure's convention

* Remove Accept-Language for RouteMatrix

* Update retention period to 24 hours

* Add createdDateTime

* Add suppressions

* Update description

---------

Co-authored-by: Will Huang <[email protected]>
Co-authored-by: Joel Hendrix <[email protected]>

* [OAI-Assistant] Added Missing annotation and delete unnecessary  annotation (#29297)

* fixed the error

* npx tsp compile updates

---------

Co-authored-by: Travis Wilson <[email protected]>
Co-authored-by: Jose Alvarez <[email protected]>

* [OpenAI] [Inference] TSP definition updates for `v2024_05_01_preview` service release (#29182)

* Azure OpenAI: 2024-04-01-preview updates

* add audio formats

* post-merge fix incl. tool update for enum conversion to union

* minor: spellcheck fix

* refine duration encoding for word start/end

* enable serialization into azure json and rename customization class name

* Added new customBlockList filter and fields to OYD

* Adding changes to authentication for Vector Search

* Adjusted docs for OYD vector search auth models

* Added missing field and retrieved documents

* Examples added

* corrected examples api-versions in json

* Reformat

* Recompile after reformat

* PR comments: wrong plural and type precision

* Revert added tab to service spec

Co-authored-by: Shawn Fang <[email protected]>

* Added readme entry for generated openAPI doc

* Trying to improve folder structure

* Removed moved and renamed generated.json files

* Reverted last 3 commits

* Added entry for generated.json swagger in the readme

* Changed enum to nonExpandable

* Ran formatter

---------

Co-authored-by: Travis Wilson <[email protected]>
Co-authored-by: Travis Wilson <[email protected]>
Co-authored-by: Shawn Fang <[email protected]>
Co-authored-by: Shawn Fang <[email protected]>

* Add v3.2 for Speech to text (3.2p2 as base) (#28664)

* Add v3.2 for Speech to text (3.2p2 as base)

* Update swagger with new changes and updated version number

* Update readme.md with new version

* Added evaluation token errors

* Revert ttl changes for transcriptions

* Finalized api changes for GA

* Try fix avocado error

* Add new api-version 2024-02-01-preview to main (#29105)

* Add 2024-02-01-preview to main

* fix typespec errors

* remove operations.json

* fix linters

* delete unusued file

* edit readme

* remove suppressions

* Update specification/azurestackhci/Operations.Management/tspconfig.yaml

Co-authored-by: Mike Harder <[email protected]>

* Update specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml

Co-authored-by: Mike Harder <[email protected]>

* ID to id

* remove unnecessary suppress

* fix examples

* copy private folder changes

---------

Co-authored-by: Mike Harder <[email protected]>

* Storage STG 94 (#28327)

* added swagger (#28199)

* [STG94] Updated STG94 Files Readme (#28201)

* added swagger

* updated readme

* small fix

* added new blob swagger (#28245)

* added blob readme (#28246)

* Ran prettier on the 2024-08-04 files swagger file (#28358)

* Added AuthenticationErrorDetail to StorageError (#28360)

* NFS Share Snapshot (#28362)

* Added GetAccountInfo() API to Container and Blob level (#28297)

* Storage Error Codes for Copies (#28359)

* Revert "Storage Error Codes for Copies (#28359)"

This reverts commit 8b14ba4.

---------

Co-authored-by: Tamer Sherif <[email protected]>

* Storage Task Assignment Swagger Updates (#29050)

* SDK team improvements

* Report APIs contain filtering

* PR comment add more examples

* Fix example path

* Fix duplicate schema issue

---------

Co-authored-by: Tricia Rosario <[email protected]>

* Update virtualMachine.json (#29112)

remove "feature in preview"

Co-authored-by: Theodore Chang <[email protected]>

* Merge release api management 2023 09 01 preview - Active (#29184)

* Adds base for updating Microsoft.ApiManagement from version preview/2023-05-01-preview to version 2023-09-01-preview

* Updates readme

* Updates API version in new specs and examples

* feat(apim): Introduce gateway resource (#27757)

* WIP

* Update sample

* WIP

* Add GatewayNameParameter

* Clean up

* Update sample

* Add another sample

* Add sample for delete gateway

* Remove endpoints

* Fix typo

* Add list sample

* Clean up

Signed-off-by: Tom Kerkhove <[email protected]>

* Add disclaimer

Signed-off-by: Tom Kerkhove <[email protected]>

* Make it pretty 💄

Signed-off-by: Tom Kerkhove <[email protected]>

* Refer to new file

Signed-off-by: Tom Kerkhove <[email protected]>

* Add missing ApiManagementGatewayListResult

Signed-off-by: Tom Kerkhove <[email protected]>

* Update sample reference

Signed-off-by: Tom Kerkhove <[email protected]>

* Remove ApiManagementGatewayIdentity + List by operation

Signed-off-by: Tom Kerkhove <[email protected]>

* Add more sample

Signed-off-by: Tom Kerkhove <[email protected]>

* Latest version of common types

Signed-off-by: Tom Kerkhove <[email protected]>

* Remove 200 for delete

Signed-off-by: Tom Kerkhove <[email protected]>

* Formatting and re-order

Signed-off-by: Tom Kerkhove <[email protected]>

* Align with spec

Signed-off-by: Tom Kerkhove <[email protected]>

* Align sample with spec

Signed-off-by: Tom Kerkhove <[email protected]>

* Error response from common types

Signed-off-by: Tom Kerkhove <[email protected]>

* Rename SKU name

* Have seperate SKU for patch to not make it mandatory

* Remove empty required

* Improve note

* Rename schema

* Remove unused type

* sku.capacity should not be required

---------

Signed-off-by: Tom Kerkhove <[email protected]>

* Add loggers, diagnostics, certificates and backends to workspace (#27262)

* Add loggers to workspaces

* Add diagnostics to workspace

* Add certificates to workspace

* Add backends to workspaces

* Change DiagnosticContract to DiagnosticContractProperties in patch

* Revert back DiagnosticContractProperties to DiagnosticContract

* Fix CI and add files to readme

* Fix example

* remove reconnect endpoint

* Add suppressions

* Try different suppression where

* Try different suppression

* Try other suppression

* another test

* finally working suppression

* remove unwanted line

* remove secret examples (#28409)

* Modify CircuitBreaker and BackendPool Contract (#28397)

* md cb contract

* modify pool contract

* correct the limits

---------

Co-authored-by: Samir Solanki <[email protected]>

* Common Error Response (#28408)

* add operation statuses resource (#28591)

* add operation statuses resource

* fix api-version

* Add locations/operationsResults endpoint for DELETE workflow (#28808)

* add operation results

* fix spec

* operationresults

* fix file name

* feat(Workspace): Add new SkuType for Workspace (#28903)

* new skutype

* virtualNetworkType

* remove default from patch

* List skus API

* add model for sku

* caps enums

* feat)Gateway): Adding gateway config resource (#28478)

* added gateway config resource

* removing Head gateway Config call

* updates

* resolving errors

* trying to resolve more model validations

* resolving some model validations

* resolving model validations

* resoloving delete example errors

* Swagger Prettier

* prettier

* updating so patch has same response as get and put

* removing path for gateway config

* addressing comment

* addressing comments

* nit

* path updatess

* updating as per comments

* Adding workspaceLinks

* resolving some of the errors

* resolved some errors

* resolving some of the errors

* resolving some more errors

* npx prettier

* addressing comments

* updated based on comments

* lint updates

* nit updates

---------

Co-authored-by: Samir Solanki <[email protected]>

* Fix generation errors (#29207)

* fix(apim): Remove duplicate ErrorResponse schema due to move to common schema

* Gateway -> ApiGateway to prevent SDK collision with self-hosted gateway

* Revert "Gateway -> ApiGateway to prevent SDK collision with self-hosted gateway"

This reverts commit 8d4753d.

* Remove ApiManagement Prefix for GatewayConfigConnections

* Revert "Remove ApiManagement Prefix for GatewayConfigConnections"

This reverts commit 3e8197f.

* Gateway -> ApiGateway to prevent SDK collision with self-hosted gateway

* Create sdk-suppressions.yaml

---------

Signed-off-by: Tom Kerkhove <[email protected]>
Co-authored-by: Tom Kerkhove <[email protected]>
Co-authored-by: Rafał Mielowski <[email protected]>
Co-authored-by: Mahsa Sadi <[email protected]>
Co-authored-by: Vidisha Shah <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* Fixed typo in documentation (#29341)

* Update 2023-12-01 Microsoft.Web functionAppConfig definition (#29226)

* Rename enum to functionsDeploymentStorageType

* Update enum name to camel case

* Update enum names to camel case

* Update `securityPostureReference` in VMScaleSet API (#28891)

* update securityPostureRef properties in VMScaleSet spec

* add securityPostureReference to UpdateVMProfile definition and fix min version

* add prettier changes

* remove unsupported 'major.*' from spec

* add optional fields in security posture example

* add required fields

* correct minimum api version

* add prettier fixes

* remove extensionsSettings property

* create new Update model for security posture reference & update

* fix validation issue

* Create sdk-suppressions.yaml

* add azure-sdk-for-go suppression

* Update sdk-suppressions.yaml

---------

Co-authored-by: Dylan Martinez <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Alancere <[email protected]>
Co-authored-by: kazrael2119 <[email protected]>

* [Microsoft.AzureStackHCI] Add 2024-04-01 for StackHCI (#29110)

* Add 2024-04-01 for StackHCI

* add missing properties

* add log collection job type

* changes in sdk suppressions

* sdk suppression changes

* Enable stream-stype serialization for Java Communication Job Router (#29328)

* Azure Map Rendering 20240401 (#27950)

* Adds base for updating Render from version stable/2022-08-01 to version 2024-04-01

* Updates readme

* Updates API version in new specs and examples

* update static map API doc

* small change on static map doc

* update tilesetId section

* add static map supported tilesetid and trafficLayer

* update range table and static image example

* fix typo

* add additional static image example

* error fix

* run prettier on static image example json

* set tilesetId as optional

* update max/min latitude/longitude table

* update Accept header for static image API

* error fix

* add explanation for Accept header

* typo

* add parameter limitation

* improve wording

* add path and pin parameter type

* fix tables

* improve on example

* typo fix

* run prettier

* wording fix

* map attribution description update

Co-authored-by: steve munk <[email protected]>

* state tile description update

Co-authored-by: steve munk <[email protected]>

* map tile description update

Co-authored-by: steve munk <[email protected]>

* map tileset description update

Co-authored-by: steve munk <[email protected]>

* map copyright caption description change

Co-authored-by: steve munk <[email protected]>

* map copyright bounding description update

Co-authored-by: steve munk <[email protected]>

* weather radar tile description update

Co-authored-by: steve munk <[email protected]>

* weather infrared tiles description update

Co-authored-by: steve munk <[email protected]>

* map copyright tile description update

Co-authored-by: steve munk <[email protected]>

* map copyright world description update

Co-authored-by: steve munk <[email protected]>

* remove pricing tiers applies

* Adds base for updating Render from version stable/2022-08-01 to version 2024-04-01

* Updates readme

* Updates API version in new specs and examples

* update static map API doc

* small change on static map doc

* update tilesetId section

* add static map supported tilesetid and trafficLayer

* update range table and static image example

* fix typo

* add additional static image example

* error fix

* run prettier on static image example json

* set tilesetId as optional

* update max/min latitude/longitude table

* update Accept header for static image API

* error fix

* add explanation for Accept header

* typo

* add parameter limitation

* improve wording

* add path and pin parameter type

* fix tables

* improve on example

* typo fix

* run prettier

* wording fix

* map attribution description update

Co-authored-by: steve munk <[email protected]>

* state tile description update

Co-authored-by: steve munk <[email protected]>

* map tile description update

Co-authored-by: steve munk <[email protected]>

* map tileset description update

Co-authored-by: steve munk <[email protected]>

* map copyright caption description change

Co-authored-by: steve munk <[email protected]>

* map copyright bounding description update

Co-authored-by: steve munk <[email protected]>

* weather radar tile description update

Co-authored-by: steve munk <[email protected]>

* weather infrared tiles description update

Co-authored-by: steve munk <[email protected]>

* map copyright tile description update

Co-authored-by: steve munk <[email protected]>

* map copyright world description update

Co-authored-by: steve munk <[email protected]>

* remove pricing tiers applies

* reduce get copyright example length

* add summary for render 20240401

* remove summary from static image

* remove please from language and view

* add package-2024-04-01 to readme

* revert back common change

* revert changes in maps readme

* \n fix

Co-authored-by: steve munk <[email protected]>

* typo fix

Co-authored-by: steve munk <[email protected]>

* typo fix for map copyright caption

Co-authored-by: steve munk <[email protected]>

* typo fix for statetile

Co-authored-by: steve munk <[email protected]>

* typo fix for map copyright world

Co-authored-by: steve munk <[email protected]>

---------

Co-authored-by: steve munk <[email protected]>
Co-authored-by: Joel Hendrix <[email protected]>

* Update directory-structure.md: clarify service, service group, uniform versioning. (#28929)

* [ACS][Communication][Chat] 2024-06-05-preview public preview API spec (#28875)

* Update for autorest lro support

* Format

* Fix issues with oracle spec from main

* Update format

* Update for latest dev version

* Fixing typespec-next for June 2024 release (#29427)

* green typespec-next

* Fix DeviceRegistry

* upgrade monitor to v4. Taking arm-id and subId uuid SDK breaking change. This should get rid of ModelValidation error

* Update package.json

---------

Signed-off-by: Tom Kerkhove <[email protected]>
Co-authored-by: Mike Harder <[email protected]>
Co-authored-by: Timothee Guerin <[email protected]>
Co-authored-by: Timothee Guerin <[email protected]>
Co-authored-by: Joanna-Yang-Art <[email protected]>
Co-authored-by: Sherylueen <[email protected]>
Co-authored-by: Yanwen Liu <[email protected]>
Co-authored-by: Mark Cowlishaw <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Alancere <[email protected]>
Co-authored-by: Weidong Xu <[email protected]>
Co-authored-by: Chenjie Shi <[email protected]>
Co-authored-by: Will Temple <[email protected]>
Co-authored-by: Harshit Surana <[email protected]>
Co-authored-by: zdelacerda-microsoft <[email protected]>
Co-authored-by: raghumunukutla <[email protected]>
Co-authored-by: ChenxiJiang333 <[email protected]>
Co-authored-by: Konrad Jamrozik <[email protected]>
Co-authored-by: will <[email protected]>
Co-authored-by: Will Huang <[email protected]>
Co-authored-by: Joel Hendrix <[email protected]>
Co-authored-by: Shawn Fang <[email protected]>
Co-authored-by: Travis Wilson <[email protected]>
Co-authored-by: Jose Alvarez <[email protected]>
Co-authored-by: Travis Wilson <[email protected]>
Co-authored-by: Shawn Fang <[email protected]>
Co-authored-by: Ralf Beckers <[email protected]>
Co-authored-by: shraddhasun <[email protected]>
Co-authored-by: Sean McCullough <[email protected]>
Co-authored-by: Tamer Sherif <[email protected]>
Co-authored-by: Tricia Rosario <[email protected]>
Co-authored-by: Tricia Rosario <[email protected]>
Co-authored-by: jaclin1111 <[email protected]>
Co-authored-by: Theodore Chang <[email protected]>
Co-authored-by: Samir Solanki <[email protected]>
Co-authored-by: Tom Kerkhove <[email protected]>
Co-authored-by: Rafał Mielowski <[email protected]>
Co-authored-by: Mahsa Sadi <[email protected]>
Co-authored-by: Vidisha Shah <[email protected]>
Co-authored-by: Francisco Gamino <[email protected]>
Co-authored-by: Dylan Martinez <[email protected]>
Co-authored-by: Dylan Martinez <[email protected]>
Co-authored-by: kazrael2119 <[email protected]>
Co-authored-by: Priyanshi Jain <[email protected]>
Co-authored-by: Alan Zimmer <[email protected]>
Co-authored-by: miaxzhitong <[email protected]>
Co-authored-by: steve munk <[email protected]>
Co-authored-by: Jim Chou <[email protected]>
  • Loading branch information
Show file tree
Hide file tree
Showing 270 changed files with 4,523 additions and 5,141 deletions.
194 changes: 96 additions & 98 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"name": "azure-rest-api-specs",
"devDependencies": {
"@azure-tools/typespec-apiview": "0.4.8",
"@azure-tools/typespec-autorest": "0.42.1",
"@azure-tools/typespec-azure-core": "0.42.0",
"@azure-tools/typespec-azure-portal-core": "0.42.0",
"@azure-tools/typespec-azure-resource-manager": "0.42.1",
"@azure-tools/typespec-client-generator-core": "0.42.3",
"@azure-tools/typespec-azure-rulesets": "0.42.1",
"@azure-tools/typespec-autorest": "0.43.0",
"@azure-tools/typespec-azure-core": "0.43.0",
"@azure-tools/typespec-azure-portal-core": "0.43.0",
"@azure-tools/typespec-azure-resource-manager": "0.43.0",
"@azure-tools/typespec-client-generator-core": "0.43.0",
"@azure-tools/typespec-azure-rulesets": "0.43.0",
"@azure/avocado": "^0.8.4",
"@typespec/compiler": "0.56.0",
"@typespec/http": "0.56.0",
"@typespec/openapi": "0.56.0",
"@typespec/openapi3": "0.56.0",
"@typespec/rest": "0.56.0",
"@typespec/versioning": "0.56.0",
"@typespec/compiler": "0.57.0",
"@typespec/http": "0.57.0",
"@typespec/openapi": "0.57.0",
"@typespec/openapi3": "0.57.0",
"@typespec/rest": "0.57.0",
"@typespec/versioning": "0.57.0",
"azure-rest-api-specs-eng-tools": "file:eng/tools",
"oav": "^3.3.7",
"prettier": "~3.2.5",
Expand Down
Loading

0 comments on commit db63bea

Please sign in to comment.