Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR track2_azure-maps-traffic] [Hub Generated] Review request for Common to add version preview/1.0 #19884

Conversation

openapi-sdkautomation[bot]
Copy link
Contributor

@openapi-sdkautomation openapi-sdkautomation bot commented Jul 20, 2021

Create to sync Azure/azure-rest-api-specs#16626
ReCreate this PR

You can install the use using pip install of the artificats.

[Maps] Add separate Swagger definitions for Maps client libraries (Azure#14871)

* Make maps data-plane swagger files compile when taken from api to sdk.

* Update correctly the search api

* Update common.js and add swagger codegen to maps dataplane.

* Fix path issue

* fix prettifier error.

* Replace mistyped extension.

* Fix common type version.

* Fix errors for alias.json

* run prettier

* fix security def and parameters.

* Revert "fix security def and parameters."

This reverts commit 85370d9b6b3ad0ae615d1931aa7a5eec39957b30.

* Revert "run prettier"

This reverts commit be16d4423be319cc4b7a957abe977aced26e0fa5.

* Revert "Fix errors for alias.json"

This reverts commit 0458cbc9489ba8cc05a575517b35001fa4c4a7e8.

* fix extension issue

* comment out all other errors.

* revert changes to package.json files

* update files. remove common response as it isn't supported.

* update readonly problem

* Update error correctly to not be a breaking change

* Remove unused definition.

* Fix GeoJSONGeometryCollection

* Fix naming scheme

* fix coord abb

* fix geometryCollection error by using a more generic type for inheritance.

* update anon def

* try without schema

* fix naming issue.

* add schema

* try again

* update common file

* update route.json file

* Revert "update route.json file"

This reverts commit 2858248ea19ece1998617afbb83c1b6633487834.

* Update geometry collection.

* fix go modeler error

* remove type

* - fix ModelValidation

* - enable Java and Python generation

* try with new errorDetail.

* correct paths

* revert changes to odataerror. update python sdk.

* fix typo

* update error and readonly CoordinateAbbreviated to reuse more.

* - try to build Python SDK

* - try to forcefully build Python SDK

* Add top level java.

* update warnings from lint diff

* try java generation with the inline file.

* update Java compilation with right tags.

* Fix compilation warnings

* Update readme namespace names

* Make enums be modelAsString: true

* Add x-ms-error-response to error responses

* Remove feedback.json and feedback reference from readme.md.

* Fix "security" requirement object to have valid scope for OAuth2 security scheme type

* Fix "security" requirement object to have valid scope for OAuth2 security scheme type - add missing file

* Use common client parameters - part 1

* Use common client parameters - part 2

* Fix lint errors

* update go namespace to the correct one.

* Use common response objects to fix duplicate schemas

* Fix semantic & model validation

W/A for OAV as it is not able to parse Swagger file without "responses" object.

* Fix autorest duplicate schema warnings

Use common schema for Language, View, xTileIndex & yTileIndex between Render 1.0, Render 2.0, Search 1.0 and Traffic 1.0.

* Fix C# generation of StyleRuleBaseType enum type

* Fix license header for GO lang

* Fix inheritance of the StyleRuleBase type in the FeatureState API

* Revert resource-manager changes.

* Remove current version.

* Update java namespace.

* Fix StyleRuleBase type inherited types generation

* Fix prettier error

* Use common GeoJson naming & fix inheritance

* Update 200 response to be 200Async instead of error response. Also update the examples for the given routes.

* Fix StyleRuleBase type inherited types generation

* Fix 'avoid' parameter in Route service to be actually an array of things to avoid

* Rename definitions to have at least two words (fix AZC0012 error) and add missing x-ms-enums.

* Fix prettier

* Fix GeoJSON type hierarchy and WFS examples

* Fix long running operation definitions and examples

* Add missing descriptions

* Define batch responses in more detail & remove redundant definitions in Search API

* Alias - remove unused definitions and empty 204 response

* Data - remove unused definitions, empty 204 responses and file upload parameters

* Dataset - remove unused definitions and empty 204 response

* Fix description and linter validation

* Elevation - remove unused definitions, merge some of them to get less models

* Conversion, Feature State & Geolocation - remove unused definitions and empty 204 response

* Use previous package-1.0-preview until new package-preview-2.0 is fixed.

* Fix merge conflicts after rebase and security LintDiff

* Fix Alias, Data, Dataset, Conversion, Feature State, Tileset & WFS 2.0 services

* Fix linter warnings - Use common definition for ontology

* Fix linter errors - LongRunningResponseStatusCode

* Fix ApiDocPreview

* Use different tag format to not relate with API version used

* Use dummy trick to make ApiDocPreview and Avocado work

* Another approach for ApiDocPreview

* Seems like it is impossible to make ApiDocPreview work until someone takes a look at "REST API CI Script Reporter" in the "OpenAPIPortal-REST-Generator" pipeline and fix it to use referenced Swagger files.

* update featureid to local parameter in wfs to see if it fixes error.

* Remove dataset from wfs as it is not needed to fix doc preview.

* Remove part that should be auto generated.

* Fix error with java codegen.

* Try to only export new versions of api.

* Readd removed api's. Try with wfs v1 to see if api-preview passes.

* remove wfs2

* Re-add wfs

* update the readme.go to see if it generates install instructions.

* add after scripts to bundle install

* Remove defaults from route to test if it fixes go sdk problems.

* Remove "x-publish" just for api doc preview test

* fix JSON typo after removal

* Experiment: do not use common responses for WFS 2.0

* Remove required false as it is the default value for query parameters. Remove default value for non required values.

* run prettier.

* Add onbe error-response individually to see if it fixes alias error.

* Revert experimental WFS changes

* Remove unused error.

* Remove duplicated common file for 2.0

* Use ResponseFormat as a name for JsonFormat as one of the values is Json

* Mobility & Render - fix response types, remove unnecessary definitions

* Revert renaming TransitRouteType

* revert data.json to consume the correct type

* Only put at consumes application/json

* Update consumes for data.

* Render - rename operations to have common names with examples

* update python codegen to use track2 correctly

* Also change track2 from readme.md

* Add track2 and track1

* Don't generate the sdk for arm.

* Remove python track1 and add net track2.

* Search - reduce number of responses for common cases

* Elevation - fix input param for GetDataForPolyLine

* Spatial - remove duplicated & unused definitions

* Data - fix model validation

* Tileset - remove 204 body

Add x-ms-pageable to where it suits

* Timezone & Traffic - fix "produces" fields and Traffic file responses

* Add azure-sdk-for-net-track2 references to the -pr repo

* Use azure-sdk-for-net without track2 since it's not enabled in the CI yet.

* Weather - remove unused definitions

* WFS 1.0 - remove unused definition and standardize naming

* WFS 2.0 - remove unused definition and standardize naming

* Put TextFormat & GeographicResourceLocation to a common file

* Fix double to integer so that calls work.

* Skip url encoding for elevation input parameters.

* Put url ecoding to correct spot.

* update geoemtries to be comma separated array.

* Change search parameter order so that textFormat is always first.

* Change parameter to udid from udId to be consistent

* update wfs limit from float to int

* update from string to datetime

* Refix elevation.

* Fix elevation prettier.

* correctly update parameter to udid.

* Add geography to all services.

* update date-time

* Add description to data

* Add client flatten

* Run prettier

* Add geometry to examples.

* Update missing routes.

* Route - fix added endpoints for missing API

* Use autorest v3 for TypeScript code gen

* Add arm to python sdk in order to have aad auth.

* Run prettier on route.

* update get routes fixes.

* put correct name for example.

* update format

* Add missing responses

* Add same security for all.

* fix copyright and countryCode warnings

* remove arm.

* fix extra comma

* Add long running

* Remove unused stuff from readme.md

* Run prettifier

* see if x-publish fixes linter error.

* Replace description.

* disable long running operation for put state update

* Add schema of type string.

* Replace description

* Remove schema.

* Remove after install to see if go package still fails.

* Change credential type to bearer. and remove each sub key param.

* - remove XML since our client libs are using JSON only and TS codegen cannot parse responses properly

* - fix DWG conversion 200 response to not be an error but actual result with operationId in the body

- use 6.0.0-alpha.20210514.1 TS codegen as latest beta has broken LRO support for JS core v1 (cannot use core v2 due to missing API key credential)

* Fix Data & Dataset conversion 200 response to not be an error but actual result with operationId in the body

* Fix OAuth description for Lint diff & fix prettier

* Another try for the LintDiff CI

* Yet another try for the LintDiff CI

* Remove security from common

* fix description message.

* Remove preview 1 since preview 2 is added.

* remove unused preview 1 files.

* Change api version from common to each service.

* Add default error.

* Update version and route and search with batch. Remove subscription key from examples.

* fixes.

* Re-add 408.

* fixes to errors.

* update types.

* Update description for batch.

* remove unused errors from examples.

* fix ci after changes.

* fix again errors in examples.

* remove package-preview-1.0 from go.

* Remove go codegen as track1 isn't supported for data-plane.

* Leave go readme. Remove js from ci for now.

* remove 200 from dataset.

* Put 200 response back to the Maps LROs. Although those paths do not return 200 directly (202 instead) the TS codegen takes 200 definition for the response type, so it is needed to deserialize.

* Try to use .NET Track 2

* Workaround TS autogen limitation - loses inherited class properties due to invalid deserialization of base class properties only

* Fix 200 to be 400 error(fix duplicate)

* change versioning.

* commit unsaved files.

* fix wrong version.

* fix breaking change.

* Fix LintDiff errors and azure-sdk-for-net build

* fix cSpell

* Fix common descriptions for other Swaggers after e0624d2

* Use the new Azure AD description

* Add back API key description

* update consumes in data

* fix typo.

* update creator.

* update references

* update spatial version to 2.

* fix data upload.

* move spatial back to 1.0 for now and update batch to have 200 in case of success.

* Remove mobility as its deprecated.

* move spatial samples.

* Update config md files & fix minor versioning issues

* Remove unnecessary "produces" and "202Batch"

* Use autorest's predefined AADToken & AzureKey

* Generate public clients for C#

* Prettier fix

* change go namespaces

* golang track2 config updates

* Use latest TypeScript generator with core v2

* Fix Swagger ModelValidation

Co-authored-by: Dragos Daian <[email protected]>
Co-authored-by: ambientlight <[email protected]>
@ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jul 20, 2021
@ghost
Copy link

ghost commented Jul 20, 2021

Thank you for your contribution openapi-sdkautomation[bot]! We will review the pull request and get back to you soon.

@openapi-sdkautomation openapi-sdkautomation bot changed the title [ReleasePR track2_azure-maps-traffic] [Maps] Add separate Swagger definitions for Maps client libraries [ReleasePR track2_azure-maps-traffic] [Hub Generated] Review request for Render to add version preview/2.1 Aug 6, 2021
@openapi-sdkautomation openapi-sdkautomation bot changed the title [ReleasePR track2_azure-maps-traffic] [Hub Generated] Review request for Render to add version preview/2.1 [ReleasePR track2_azure-maps-traffic] [Hub Generated] fix host parametrization in all non-Creator Maps Clients Aug 24, 2021
@openapi-sdkautomation openapi-sdkautomation bot changed the title [ReleasePR track2_azure-maps-traffic] [Hub Generated] fix host parametrization in all non-Creator Maps Clients [ReleasePR track2_azure-maps-traffic] [Azure Maps] Swagger improvement for Elevation + other minor fixes [Hub Generated] Oct 6, 2021
@openapi-sdkautomation openapi-sdkautomation bot changed the title [ReleasePR track2_azure-maps-traffic] [Azure Maps] Swagger improvement for Elevation + other minor fixes [Hub Generated] [ReleasePR track2_azure-maps-traffic] Azure Maps - [Hub Generated] Review request for Traffic to add version preview/1.0 Oct 25, 2021
@openapi-sdkautomation openapi-sdkautomation bot changed the title [ReleasePR track2_azure-maps-traffic] Azure Maps - [Hub Generated] Review request for Traffic to add version preview/1.0 [ReleasePR track2_azure-maps-traffic] [Hub Generated] Review request for Common to add version preview/1.0 Nov 12, 2021
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-python that referenced this pull request Jul 25, 2022
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-python that referenced this pull request Aug 1, 2022
Compute update folder structure (Azure#19723)

* update folder structure

* small errors and CI check

* [Language Text] Update swagger titles (Azure#19835)

* [Language Text] Update swagger titles

* edits

* address feedback

* Review request for Microsoft.ContainerService to add version 2022-06-01 (Azure#19848)

* Adds base for updating Microsoft.ContainerService from version stable/2022-04-01 to version 2022-06-01

* Updates readme

* Updates API version in new specs and examples

* update readmes (Azure#19421)

* Add key management service profile of a managed cluster for version 2022-06-01 (Azure#19529)

* Add NetworkPlugin none option to 2022-06-01 (Azure#19510)

* Add NetworkPlugin none option to 2022-06-01

* improve description for none value

* Fix violated rule R4041 for 2022-06-01 managedCluster swagger (Azure#19581)

* remove useless directive

* fix R4041

* GA AKS support for Dedicated Host Group (Azure#19547)

* GA AKS support for Dedicated Host Group

* fit some format minor issue

* add newline in end of files

* Defender updates (Azure#19665)

* Defender updates

* sample

* remove old description

Co-authored-by: Bin Xia <[email protected]>
Co-authored-by: Matt Stam <[email protected]>
Co-authored-by: Jianping Zeng <[email protected]>
Co-authored-by: Or Parnes <[email protected]>

* Update resources.json (Azure#19861)

* Pattts/predictive autoscale 20221001 (Azure#19765)

* Rev Autoscale API from 2021-05-01-preview to 2022-10-01.

* Fix minor swagger issue. Default should be 'false'

* Fix swagger validation error

* Defining a new package 2022-10

* AutoscaleSettingResource now reference allOf 'resource' which is the actual autoscaleSetting resource definition

* Fix require property issue

* Run prettier against autoscale_API.json

* [Maps - Render & Spatial Services] add v2022-08-01 (Azure#19520)

* copy old swagger to new folders

* set api version to 2022-08-01

* apply api changes

Co-authored-by: Gigi Grajo <[email protected]>

* update appconfiguration (Azure#19330)

* update appconfiguration

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* [Hub Generated] Publish private branch 'main' (Azure#19852)

* Add StorageMover specification for PubliC Preview

* SpellCheck fix

* Update custom-words

* Update specification/storagemover/resource-manager/readme.md

Co-authored-by: Abhishek Krishna <[email protected]>
Co-authored-by: Dapeng Zhang <[email protected]>

* Merging Dynatrace swagger in stable folder (Azure#19862)

* Committing base swagger version

* Removing preview tag from stable folder api version

* Changing version name in all the files

* Updating readme.go and readme.md files

* [CDN] Fix customDomains property type in Endpoint (Azure#19788)

* [CDN] Fix customDomains property type in Endpoint

* Fix linter error

Co-authored-by: Bo Zhang <[email protected]>

* Adding Microsoft.Sql AdvancedThreatProtectionSettings APIs for MI on v5 tag for 2022-02-01-preview (Azure#19866)

* update folders

* [Hub Generated] Review request for Microsoft.KeyVault to add version stable/7.3 (Azure#19844)

* Update description of exportable attribute and release_policy.data

* Remove submodule azure-reset-api-specs

* Fix description for exportable

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

* Add latest StorageMover updates (Azure#19876)

* Add StorageMover specification for PubliC Preview

* SpellCheck fix

* Update custom-words

* Update specification/storagemover/resource-manager/readme.md

* Add latest StorageMover updates

Co-authored-by: Abhishek Krishna <[email protected]>
Co-authored-by: Dapeng Zhang <[email protected]>

* Update readme.python.md (Azure#19899)

* Update readme.python.md

* Update readme.md

* Moving files from azure-rest-spec-pr to azure-rest-spec repo after api review (Azure#19878)

* Moving files from azure-rest-spec-pr to azure-rest-spec repo after api review

* Add known words

* Removed static IP allocation only from examples (Azure#19858)

* Removed static IP allocation

* Removed static only from examples

Co-authored-by: Arpit Gagneja <[email protected]>

* Update securityinsights readme.python (Azure#19903)

* update securityinsights readme.python

* Update readme.python.md

Co-authored-by: Zhenbiao Wei (WICRESOFT NORTH AMERICA LTD) <[email protected]>

* fix lint errors in Synapse trigger.json (Azure#19660)

* put json files into RP folders

* update readme

* Add CONTRIBUTING.md (Azure#19257)

* Add CONTRIBUTING.md

* Apply suggestions from PR review

Co-authored-by: Heath Stewart <[email protected]>

* Apply suggestions from PR review

Co-authored-by: Weidong Xu <[email protected]>

* Regen toc for CONTRIBUTING.md

* Address PR review comments

* Address PR review comments

Co-authored-by: Heath Stewart <[email protected]>
Co-authored-by: Weidong Xu <[email protected]>

* fix devcenter readme.go.md config (Azure#19906)

* fix readme.go.md config

* rename to SkuInfo

* add annotation for labservices (Azure#19884)

* add to description of OS state (Azure#19764)

* [Hub Generated] Review request for Microsoft.KeyVault to add version preview/2021-06-01-preview (Azure#19767)

* Updated the managed hsm resource manager spec to include two additional properties for private endpoint connection item

* Update managed hsm private endpoint connection item in mhsm spec for latest api version

* Address LRO_RESPONSE_HEADER violation for managed hsm

Long running operations that are annotated with x-ms-long-running-operation:true
must return location header or azure-AsyncOperation in response.
Added the missing location header for managed hsm update command as well as to the corresponding
examples.

* [Microsoft.DeviceUpdate] Adding first stable API version (Azure#19846)

* Copied the most recent preview version into the first stable version

* Updated api version in new stable version, added the tag to readme.md

* Fixed typo

* Fixed the wrong path in readme.md

* Reverted VS Code automatic breaking change

* Fix broken link (Azure#19688)

* add aadObjectId property to kustoPool (Azure#19856)

Co-authored-by: Amit Elran <[email protected]>

* Updata securityinsights readme.python (Azure#19917)

* update securityinsights readme.python

* update readme.python

Co-authored-by: Zhenbiao Wei (WICRESOFT NORTH AMERICA LTD) <[email protected]>

* modify readme.typescripy.md for compute package (Azure#19607)

Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>

* Dev gubalasu frontdoor microsoft.network 2021 06 01 (Azure#19578)

* Adds base for updating Microsoft.Network from version stable/2020-05-01 to version 2021-06-01

* Updates readme

* Updates API version in new specs and examples

* update waf configs and examples from 2020-11-01

* Update api version in new specs and examples

* Migration api update

* Update readme

* Fix readme

* update readme

* Fix readme again

* Fix readme

* Fix readme

* update waf policy provisioning state

* Update securityinsights readme.python (Azure#19923)

* update securityinsights readme.python

* update readme.python

* last modify

* Update readme.python.md

Co-authored-by: Zhenbiao Wei (WICRESOFT NORTH AMERICA LTD) <[email protected]>

* sync with changes made to master

* update folder structure

* small errors and CI check

* update folders

* put json files into RP folders

* update readme

* resolve capitalization and number misplacement accident

Co-authored-by: Theodore Chang <[email protected]>
Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>
Co-authored-by: FumingZhang <[email protected]>
Co-authored-by: Bin Xia <[email protected]>
Co-authored-by: Matt Stam <[email protected]>
Co-authored-by: Jianping Zeng <[email protected]>
Co-authored-by: Or Parnes <[email protected]>
Co-authored-by: Alexander Batishchev <[email protected]>
Co-authored-by: PatrickTseng <[email protected]>
Co-authored-by: gigi <[email protected]>
Co-authored-by: Gigi Grajo <[email protected]>
Co-authored-by: zhenbiao wei <[email protected]>
Co-authored-by: Abhishek Krishna <[email protected]>
Co-authored-by: Abhishek Krishna <[email protected]>
Co-authored-by: Dapeng Zhang <[email protected]>
Co-authored-by: Divyansh Agarwal <[email protected]>
Co-authored-by: t-bzhan <[email protected]>
Co-authored-by: Bo Zhang <[email protected]>
Co-authored-by: Uriel Cohen <[email protected]>
Co-authored-by: susolank <[email protected]>
Co-authored-by: Sunny Solanki <[email protected]>
Co-authored-by: Ralf Beckers <[email protected]>
Co-authored-by: arpit-gagneja <[email protected]>
Co-authored-by: Arpit Gagneja <[email protected]>
Co-authored-by: Zhenbiao Wei (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: YanjunGao <[email protected]>
Co-authored-by: Mike Kistler <[email protected]>
Co-authored-by: Heath Stewart <[email protected]>
Co-authored-by: Weidong Xu <[email protected]>
Co-authored-by: Jiahui Peng <[email protected]>
Co-authored-by: j-zhong-ms <[email protected]>
Co-authored-by: Tom FitzMacken <[email protected]>
Co-authored-by: neeerajaakula <[email protected]>
Co-authored-by: darkoa-msft <[email protected]>
Co-authored-by: Roy Wellington <[email protected]>
Co-authored-by: Amit Elran <[email protected]>
Co-authored-by: Amit Elran <[email protected]>
Co-authored-by: kazrael2119 <[email protected]>
Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: gubalasu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants