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

[TA] Update links to point to master #14871

Merged
merged 2 commits into from
Sep 3, 2020
Merged

[TA] Update links to point to master #14871

merged 2 commits into from
Sep 3, 2020

Conversation

maririos
Copy link
Member

@maririos maririos commented Sep 3, 2020

No description provided.

Copy link
Member

@kinelski kinelski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +87 to +88
* [Synchronous Analyze Sentiment with Opinion Mining](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/textanalytics/Azure.AI.TextAnalytics//tests/samples/Sample2.1_AnalyzeSentimentWithOpinionMining.cs)
* [Asynchronous Analyze Sentiment with Opinion Mining](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/textanalytics/Azure.AI.TextAnalytics//tests/samples/Sample2.1_AnalyzeSentimentWithOpinionMiningAsync.cs)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we have extra slashes here (...Azure.AI.TextAnalytics//tests...). I think this won't prevent it from working, though.

@maririos maririos merged commit 772c0df into Azure:master Sep 3, 2020
annelo-msft added a commit that referenced this pull request Oct 13, 2020
)

* Fix for failing long running operations (#14663)

Co-authored-by: Meha Kaushik <[email protected]>

* Implement ctor accepting a connection string (#14674)

* Implement ctor accepting a connection string

* change version

* formatting

* pr comments

* export api

* connectionstring tests

* [TA] SDK now targets 3.1-preview.2 (#14633)

* new features generated + CI enabled + recordings

* update changelog

* Azure Monitor Exporter - Add Connection String  (#14621)

* Add release preparation script (#14680)

* feat(samples): Twin configurations sample (#14683)

* Release script fixes (#14686)

* Amqp updates (#14681)

* Azure Monitor Exporter - Adopt OpenTelemetry .NET beta2 changes (#14687)

* Add Microsoft.Extensions.Azure.WebJobs package (#14589)

* Add SubQueue option and remove locktoken overloads (#14692)

* Restructure Changelog Logic (#13783)

* Restructure Changelog Logic

* reset eng/common directory

* move test to individual classes (#14684)

* Add service version and remove public ctors for output only types (#14690)

* Feature/storage/stream position deadlock bug (#14301)

* Adding SNI support to ClientCertificateCredential (#14636)

* Adding SNI support to ClientCertificateCredential

* updating API ref

* redame content and some additional samples (#14713)

* redame content and some additional samples

* typos

* add Delete perms

* Feature/storage/open write page blob bug (#14716)

* Update code owners for ADT (#14722)

* Preparing for Storage release (#14721)

* Increment version for storage releases (#14725)

* Add Azure AD Only Authentication for Managed Instance (#14717)

* Add support for Managed Instance Azure AD Only Auth.

* Fix folder path.

* Fix sqlManagementClient

* Add res-manager, update the api version to 1.44.1-preview

* Fix assembly file version.

* Add LocalCryptographyClient for Key Vault (#14677)

* Initial LocalCryptographyClient

* Add tests for LocalCryptographyClient

* Fix build break from CI using older SDK

* Resolve PR feedback

* Shorten polling intervals for test playback

Fixes #14557

* Mark tests inconclusive if indexer status times out (#14727)

* Change Key Vault package versions to 4.2.0-beta.1 (#14678)

* Change Key Vault package versions to 4.2.0-beta.1

* Change .Administration to 4.0.0-beta.1

* Generate code for package-2020-07-01 for Azure Kubernetes Service (#14541)

* Generate code for package-2020-07-01 for Azure Kubernetes Service

* Upgrade tests for AKS 2020-07-01

* [KeyVault] Support new resource: managed HSM (#14569)

* mhsm

* mhsm2

* exclude from test

* mhsm3

* bump up version

* all new api versions

* generate from merged spec

* include tests

* [DataFactory]Added logLevel/enableReliableLogging to LogStorageSettings (#14597)

* Added logLevel/enableReliableLogging to LogStorageSettings

* Update Tar GZip

* [Synapse] Add test cases for Artifacts and update generator version & rerecord tests (#14575)

* add test cases for artifacts

* solve LRO and add test cases

* update generator version and rerecord tests

* update version

* update changelog

* update readme

* generate export API

* update changelog

* update release date

Co-authored-by: Wan Yang <[email protected]>

* [Identity] add RedirectUri option to InteractiveBrowserCredentialOptions (#14720)

* [Identity] add RedirectUri option to InteractiveBrowserCredentialOptions

* updating API reference

* Update CODEOWNERS (#14759)

From observation. Looks like nesting is winning and @tg-msft is no longer added to our PRs. Fixing that here.

* [TA] Add encoding support and length and offset (#14719)

* add encoding and length and offset

* Pr feedback

* export-api

* Clarify KeyClientBuilderExtension methods params (#14737)

* Clarify KeyClientBuilderExtension methods params

Fixes #14695

* Resolve PR feedback

* Retire Net core installer (#14567)

* Specify SDK version in b=global.json

* Retire Dotnet Installer Task

* Retire UseDotNet task

* Remove DownloadPipelineArtifact in analyze stage

* [Storage] Make OpenWrite work with using keyword (#14758)

* Prepare Storage for release

* pr feedback.

* PR feedback.

* pr feedback.

* make open write work with using.

* move recordings to right place

* pr feedback.

* Fix ADT Patch APIs to return Response rather than Response<String> (#14729)

updateComponent and updateDigital twin will never get an HTTP response payload by design, but our custom code mistakenly assumed they would. This fixes the customization code so that they return Response rather than Response<String>

* Update mgmt.yml for Azure Pipelines

* [Storage] Update changelog. (#14772)

* Prepare Storage for release

* pr feedback.

* PR feedback.

* pr feedback.

* make open write work with using.

* move recordings to right place

* pr feedback.

* update changelog

* [Identity] Add IdentityModelFactory to facilitate mocking (#14769)

* [Identity] Add IdentityModelFactory to facilitate mocking

* update API spec and changelog

* refactor sdkversion (#14774)

* Updating to latest swagger and regenerating code. (#14762)

* Lifecycle updates (#14773)

* [TA] Add flags enum for Opinion mining (#14624)

* add flags enum for OM

* PR feedback

* export-api

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 935 (#14693)

* Remove use UseDotNetCore Task (#14771)

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 916 (#14616)

* Support reading existing DataProtection KeyVault keys (#14778)

* Updating README and Samples for Event Grid (#14568)

* Updated README

* Created samples README and sample files

* Small edits, updated system event types

Edited test for CloudEvents publishing raw JSON

Added StorageLifecyclePolicyCompletedEvent to list of system event types

* Updating session records

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 930 (#14628)

* Dispose processor in tests (#14784)

* Properly segment StorageEndpointSuffix and CosmosEndpointSuffix (#14754)

* Create backup and restore samples, various other updates (#14756)

* samples - pre-recordings

* use CodeGenModel Usage

* take latest swagger spec and remove hacks

* renaming

* version change

* fix readme nuget version

* remove test auth

* fix tests

* update generator and re-record

* links

* thanks, link validation :)

* readme fixes

* prc

* make errors internal

* keep lowercase readme.md until this merges

* regen

* Store release notes into Notes custom property of the issue (#14782)

* [NetAppFiles]Anf 6504 net app files bump to 2020 02 01 (#14591)

* Update to 2020-02-01 api verison

* mgmt

* Update test recordings

* Update api version number

Co-authored-by: Audunn Baldvinsson <[email protected]>

* Remove hard-coded .NET Sdk version for mgmt pipelines (#14799)

* [Identity] Throw CredentialUnavailableException from credentials not supporting ADFS (#14763)

* [Identity] Throw CredentialUnavailableException from credentials not supporting ADFS

* moving tenantId check to after it's read from settings

* fix check to use local variable

* Generate Anomaly Detector for Preview-2 (#14791)

 Generate Anomaly Detector for Preview-2

* Incorporate tables readme feedback (#14795)

* Added inbound security rule. Fixed Netwatchers (#14728)

* Readme and sample tweaks (#14801)

* Readme and sample tweaks

* Update sdk/keyvault/Azure.Security.KeyVault.Administration/readme.md

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

* Update sdk/keyvault/Azure.Security.KeyVault.Administration/readme.md

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

* Update sdk/keyvault/Azure.Security.KeyVault.Administration/readme.md

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

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

* add bingEntitySearchApiId (#14805)

* Change optional Guid name to Guid? (#14827)

* Fix Key Vault Administration README

* Change optional Guid name to Guid?

Fixes #14823

* Change prerelease versioning (#14780)

- Use alpha instead of dev
- Use beta instead of preview

* [TA] Add PII back (#14794)

* all pii code

* tests

* recordings

* samples

* pr feedback

* add mocking

* PR feedback

* Fixed samples (#14835)

Parse method doesn't allow trailing commas in JSON

* [Azure Cognitive Search][Management plane] Fix typos from swagger (#14787)

* pull in the docs update

* regenerate from master

Co-authored-by: Arvind Krishnaa Jagannathan <[email protected]>

* SDK refresh to support new API version 2020-04-01 (#14708)

* SDK refresh to support new API version 2020-04-01

* databox_resource-manager.txt update

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 946 (#14831)

* Update changelog, csproj, and readme for Event Grid (#14838)

* Update changelog, csproj, and readme

Updating version name to 4.0.0-beta.1

* Fixed changelog date

* Add known issues section to README (#14812)

* Minor Tables readme improvements (#14846)

* Minor Tables readme improvements

* Update readme.md

* [ReleasePR Microsoft.Azure.Management.Automanage] Microsoft.Automanage SDK for 2020 06 30 preview  (#14486)

* Includes Generated Files And Half Of Unit Test Coverage

* tests completed

* updated readme

* updated versions, included AssemblyInfo

* removed unneeded package references

* updated assemblyname to properCasing

* Rename Microsoft.Azure.Management.Automanage.sln to Microsoft.Azure.Management.AutoManage.sln

* casing fixes

* added metadata file

* lineending+

* newline--

* changed hardcoded reference to dotnet coreapp31

* PR feedback, fixed csproj hard coded versions, added required properties to csproj

* fixing ambiguous package name error

* fixed version number

* fix wrong reference in generate

* PRfeedback, fixed incorrect tag references, version numbers, and remove unneeded dotnet version

* pr feedback, fixing missing session records

* renamed missing test

* fixed old test

Co-authored-by: Stephen Owen <[email protected]>

* Create pull_request_assignment.yml (#14748)

* Create pull_request_assignment.yml

* Update pull_request_assignment.yml

* [Service Bus Client] Connection String SAS Support (#14806)

The focus of these changes is to add support for a precomputed shared
access signature token to be used as part of the connection string.

* [Anomaly detector] Fix readme links and changelog release date for preview-2 (#14854)

 [Anomaly detector] Fix readme links and changelog release date for preview2

* [Storage] OpenRead - fail fast if blob doesn't exist. (#14863)

* Prepare Storage for release

* pr feedback.

* PR feedback.

* pr feedback.

* make open write work with using.

* move recordings to right place

* pr feedback.

* fail fast if blob doesn't exist at OpenRead.

* Update required net core sdk version (#14804)

* [TA] Samples and documentation for Opinion Mining and Pii (#14829)

* samples, readme + fix version

* update links

* update samples

* Fixed bug where Listing Blobs with BlobTraits.Metadata would return B… (#14861)

* Fixed bug where DataLakeFileClient.Upload() could not upload read-only files. (#14864)

* Fix .Net SDK Version (#14875)

* [TA] Update links to point to master (#14871)

* update links to point to master

* english

* Switch to using pipeline resource (#14877)

* Update versions for August release (#14868)

Co-authored-by: JoshLove-msft <[email protected]>

* Azure Monitor Exporter - Match HTTP URL retrieval  to OpenTelemetry specification (#14834)

* Add remaining test cases from track one DNS SDK to track two (#14766)

* WIP: Initial CRUD and List test for record and zone

* WIP: Port of cloud issues

* WIP:  OneTimeTearDown and setup working. No double test runs

* WIP: don't make zone twice

* WIP: Commit test

* WIP: Fix changelog and readme

* WIP: Fix yaml

* WIP: Fix yml 2

* WIP: Remove unused function

* Remove .swp file

* Remove SWP file

* Update DNS Track 2 test

* Add Tests Recordings

* Fix Class name

* WIP: Update tests

* WIP: Make exception test clearner

* WIP: Update live test records

* Revert json change

Co-authored-by: bqauntump <[email protected]>

* Add support for both .Net Core 2.1 and .Net Core 3.1 (#14884)

* Add support for both .Net Core 2.1 and .Net Core 3.1

* Install runtime instead of SDK

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 955 (#14873)

* Support calculating and setting release date (#14876)

* Support calculating and setting release date

* FB

* More FB

* Tuesday

* Add release notes collect script (#14879)

* Allow preview label for until they all ship GA (#14881)

* Update contributing document (#14870)

* [Event Hubs Client] Connection String SAS Support (#14858)

The focus of these changes is to add support for a precomputed shared access
signature token to be used as part of the connection string.

* [Event Hubs Client] Documentation Updates

The focus of these changes is to sync the release documentation for v5.2.0 with the release branch.  The version stamps and references have not been changed, as those will be covered under a dedicated pre-release set of changes.

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 926 (#14610)

* Move Microsoft.Extensions.Azure into extensions directory (#14715)

* Bump the template version. (#14908)

* Adding additional team member to PR and codeowner for management SDK code path (#14880)

* Feature/storage/blob access policy bug (#14872)

* Increment version for core releases (#14907)

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 823 (#14656)

* Remove reminants of dotnet core versions (#14783)

* [Azure.Core TestFramework] Fix Required Optional Environment Variable (#14906)

The focus of these changes is to bypass the attempt to santitize an optional
environment variable when no value was present.  Previously, if the
variable was not read, sanitizing would result in an exception.

* Fix bug when sanitizing empty body (#14885)

* Missed line in DataLakeFileClient.Upload() readonly fix (#14910)

* [Identity] Fix environment variable mismatch for live CI tests (#14865)

* Identity fix environment variable missmatch for live CI tests

* updating container image for live tests

* updating test container image

* Add release note for new AddConfigurationClient extension. (#14903)

* Add release note for new AddConfigurationClient extension.

* Bump library version.

* Update Microsoft.Azure.Management.KeyVault.csproj (#14898)

* Support WebJobs configuration fallback logic (#14825)

* Update Azure.Core.* versions (#14923)

* Update Azure.Core.* versions

* order

* Event Grid: Updating Readme and Samples (#14889)

* Revising readme and samples based on arch board feedback

* Update Langauage Settings File (#14922)

* Override ContentType header when sending multipart/form-data type request (#14925)

* Fix #14408: [BUG] ChainedTokenCredential throws an exception when VisualStudioCodeCredential is present (#14882)

* Tests added

* Fix #14408: [BUG] ChainedTokenCredential throws an exception when VisualStudioCodeCredential is present

* Fixed change log (#14916)

* Fix #13687: Move to latest App Services MSI API version (#14770)

* Fix #13687: Move to latest App Services MSI API version

* Delete unused type

* Move request builders creation into factory methods

* Move maximum of code into IManagedIdentitySource implementations

* Fix formatting

* Update sdk/identity/Azure.Identity/src/ManagedIdentityCredential.cs

Typo fix

Co-authored-by: Charles Lowell <[email protected]>

Co-authored-by: Charles Lowell <[email protected]>

* Improve integration of configuration based clients with other features (#14859)

* Improve integration of configuration based clients with other features

* Fixes

* Increment package version after release of Azure.Extensions.AspNetCore.DataProtection.Keys (#14932)

* New SDK - SchemaRegistry (#13657)

* Generated the SchemaRegistry SDK. Set up project and custom client. Fixed original swagger and made a separate PR for it.

* Update to latest swagger with description fixes.

* Fixed changlog. Regen surface.

* Regen with correct swagger.

* Started adding client methods.

* Update SchemaId to be struct. Regen api.

* Initial attempt of serializer.

* Update swagger version. Regenerate rest client. Update public surface. Created first working test.

* Added happy path tests for each client method. Added recordings.

* Move serialization stuff into the Azure.Data.SchemaRegistry.Avro project. Created project, test project, and tool (to test Avro).

* Modify SchemaProperties to have smaller set of properties. Rerun and rename tests. Update api.

* Still attempting to get Avro library usable functionality. Some reflection-based usage is working. Unfortunately, we're encoding the avro file incorrectly (it includes schema).

* Initial serializer implementation. Only does specific records.

* Fixed issues with specific record schema de/serialization.

* Got GenericRecord working. Needs cleanup.

* Code cleanup begins!

* :-) Cleaned up code for serializers. Wrote proper async implementation.

* Renamed classes to be more accurate. Removal of commented code.

* Moved serializer over to main project. Removed other project and solution.

* Added 1 test for the serializer.

* Update api.

* Added back the separate solution. Named it appropriately.

* Addressing some changes from API view comments.

* Added some negative tests. Updated public surface descriptions.

* In progress writing readmes.

* Fixed position reset in deserialization stream.

* Made constants for wire format lengths/positions.

* Updated property description. Made static field for UTF8 encoding.

* Removed unused Directory.Build.props.

* Removed unused description.

* Continuing readme. Started adding snippets.

* First readme completed.

* Finally! Created readmes and snippets.

* Put credential scope string into a constant.

* Addressing a couple documentation PR comments and removed a code comment.

* Added global suppressions for namespace name.

* Forgot using for memory streams in tests and snippets.

* Fixed bugged diagnostic scope names. Put scope names into constants.

* Updated ci configuration. Removed resources template since resources cannot be provisioned currently.

* Added the other package to CI.

* Updated sample file names to match convention.

* Added missing readme links.

* Fixed the readme snippets so they don't format oddly.

* Updated schema components descriptions.

* Fixed command to acquire packages.

* Rename Atom client (#14931)

* [SchemaRegistry] Fix broken test recordings (#14935)

* Update tests to use single-line strings. Recording encoding was keeping the /r/n from Windows and breaking everything.

* Ignoring tests since I cannot figure out the encoding issue.

* Added missing readme sections.

* Ignored the other tests as they suffer from the same issue.

* Fix readme link.

* Really... it needs to say that exact phrase.

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 969 (#14928)

* stub project for api design activity

* swagger updates

* Azure SDK updates for Microsoft.Sql (#14844)

* Update clients for Microsoft.Sql and update tests for ImportExport

* Add SessionRecords for new IE APIs

* Undo change done for local testing

* Include Alicia's client changes

* Add missing models

* Update session record for TestImportExistingDatabase

* adding in updated test/session for create database test (includes storageAccountType check)

* Fix the new ImportExportScenarioTests

* trying out another set of generated clients

* switch back generated clients, updated database create test

* reinstate deleted model, add updated test session

* Undo ManagedInstanceOperation model change due to failing pipeline check - will follow up with MI team to do this update separately

* Update sql_resource-manager.txt

* Checkout Generated before re-generate

* Regenerate clients

* Update Generated after deleting old Generated folder

* Adding coverage for new IE scenarios

* Update SDK version and release notes

* Re-record existing IE tests after changing test resource name pattern

Co-authored-by: xaliciayang <[email protected]>

* [Storage] OpenRead/Write test recordings are back. (#14963)

* Prepare Storage for release

* pr feedback.

* PR feedback.

* pr feedback.

* make open write work with using.

* move recordings to right place

* pr feedback.

* record open write tests.

* Fix starvation issue with session processor when MaxCallsPerSession > 1 (#14937)

* Bump template to the one not used. (#14964)

* Unblock Core build by fixing snippet error (#14966)

* Re-Generate EventHubs and re-record (#14946)

* Re-Generate EventHub and re-record

* Update record

* new sdk 25.2 (#14948)

* Re-generate test common and AppConfiguration. (#14902)

* Fix keyvault Readme issues (#14839)

* Fix key vault readme issues

* modify

* Add getcert sample for Key Vault (#14971)

Resolves part of #12742

* set release date in changelog (#14972)

* set release date in changelog

* content

* [Event Hubs Client] September Release Updates (#14965)

The focus of these changes is to update versions and supporting assets to
reflect the September release of the Event Hubs client packages.

* Added CassandraTest (#14886)

* Increment package version after release of Azure.Data.Tables (#14977)

* Update CODEOWNERS (#14979)

* Reomve locale links and fix anchor links (#14987)

* Reomve locale links and fix anchor links

* fixup relative links

* move auth section under getting started

* fb from different pr

* Revert "Re-generate test common and AppConfiguration. (#14902)" (#14978)

* Revert "Re-generate test common and AppConfiguration. (#14902)"

This reverts commit 35df31a.

* Revert testcommon change that broke builds

* Added more information to the readme that should be generalized text across languages. Added aka.ms link. (#14990)

* Fix issue that homeAccountId string is not parsed correctly into AccountId (#13932)

* add .net samples (#14579)

add .net samples

* [Anomaly Detector] Move sample code under the right snippet (#15003)

[Anomaly Detector] Move code under the right snippet

* Update CHANGELOGs for Key Vault 4.2.0-beta.1 (#14992)

* Add link to sample on KeyVaultCertificate.Cer

Resolves #12742

* Update CHANGELOGs for Key Vault 4.2.0-beta.1

* Azure Monitor Exporter - Update codegen (#14895)

* Update codegen

* Addressing PR Comments

* Add Key Vault Administration package to release (#15024)

* Update AutoRest C# version to https://github.com/Azure/autorest.csharp/releases/download/3.0.0-dev.20200909.1/autorest-csharp-v3-3.0.0-dev.20200909.1.tgz (#15026)

* [Messaging Clients] Microsoft.Azure.Amqp Package Update (#15019)

The focus of these changes is to update the version of the `Microsoft.Azure.Amqp`
package used by the messaging clients to v2.4.6, which was recently
released.  This new version contains a fix for a hard crash on .NET v5
and no other changes.

* Increment version for schemaregistry releases (#15027)

* Increment package version after release of Azure.Data.SchemaRegistry

* Increment package version after release of Microsoft.Azure.Data.SchemaRegistry.ApacheAvro

* [Storage] OpenWrite - support for metadata, tags and headers (#15023)

* Prepare Storage for release

* pr feedback.

* PR feedback.

* pr feedback.

* make open write work with using.

* move recordings to right place

* pr feedback.

* Ability to specify metadata tags and headers when opening write stream on block blob.

* include metadata in initial request.

* EventSourceEventFormatting - catch FormatException (#14697)

* EventSourceEventFormatting - catch FormatException

* revision 2

* revision 3

* revision 4

* revision 5

* revision 6

Co-authored-by: Pavel Krymets <[email protected]>

* Test Framework - Don't serialize string Json element directly to session (#15007)

* [CosmosDB] Add tableResourcesOperations scenario test (#14991)

* Add table resources operations scenario test

* Add live record file

* Update recordings

* Update recordings

* Remove extra casting

* Remove re-initialize CosmosDBClient in test file

* Add test for delete table and update the recording file

* Increment version for keyvault releases (#15030)

* Increment package version after release of Azure.Security.KeyVault.Secrets

* Increment package version after release of Azure.Security.KeyVault.Certificates

* Increment package version after release of Azure.Security.KeyVault.Keys

* Increment package version after release of Azure.Security.KeyVault.Administration

* Fix typo (#15038)

* Add parameters to function (#14999)

* [Anomaly Detector] Fix links in the samples README (#15042)

* Renamed Package RegionMove to ResourceMover (#15044)

* Changed Package RegionMove to ResourceMover

* Updated resource-manager filename for regionmove to resourcemover.

Co-authored-by: Ajay Gupta <[email protected]>

* update version to beta (#15045)

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 982 (#15050)

* Reoving required parameters (#15039)

* Enable a way to Unregister Message Handler and Session Handler (#14021)

* add UnregisterMessageHandler method

* Update sdk/servicebus/Microsoft.Azure.ServiceBus/src/Core/IReceiverClient.cs

Co-authored-by: Sean Feldman <[email protected]>

* Update sdk/servicebus/Microsoft.Azure.ServiceBus/src/Core/MessageReceiver.cs

Co-authored-by: Sean Feldman <[email protected]>

* Update the unregister method to be async and await for inflight operations to finish

* Update sdk/servicebus/Microsoft.Azure.ServiceBus/src/SubscriptionClient.cs

Co-authored-by: Sean Feldman <[email protected]>

* Update sdk/servicebus/Microsoft.Azure.ServiceBus/src/Core/MessageReceiver.cs

Co-authored-by: Sean Feldman <[email protected]>

* Update sdk/servicebus/Microsoft.Azure.ServiceBus/src/QueueClient.cs

Co-authored-by: Sean Feldman <[email protected]>

* Change name to have async suffix and add to existing onMessageQueueTests

* Add UnregisterSessionHandlerAsync and corresponding tests

* nit

* nit

* Add a new cancellation type to not cancel inflight message handling operations when unregister is called.

* Add another type of cancellation token to session handler path

* nit

* Add a timeout parameter to unregister functions and add according unit tests

* nit

* cancel runningTaskCancellationTokenSource after unregister is done

* change public API

* update the API header

* update the API definition

* fix spacing

* fix ApproveAzureServiceBus CIT test

Co-authored-by: Sean Feldman <[email protected]>

* [AppConfig] Adding new parameter 'PublicNetworkAccess' for ConfigurationStoreUpdateParameters (#14682)

* Update autorest commit ID & generate code files

* Update changelog and readme

* Fix unit test and update test recordings

* Update generated code after running eng\scripts\Export-API.ps1

* Service Bus Migration Guide improvements (#14166)

* Enable master link replacement feature in .NET (#15040)

* Update changelog (#15060)

* [SchemaRegistry] Fix core build (#14968)

* Made snippet names unique.

* Fix readme links.

* Rerecorded tests and enabled them.

* Increment package version after release of Azure.Messaging.ServiceBus (#15080)

* Add release date (#15084)

* [Event Hubs Client] Idempotent Producer Client (#15034)

The focus of these changes is implementing the idempotent publishing feature
infrastructure into the `EventHubProducerClient` and associated types,
refactoring the current structure to support idempotent and non-idempotent
publishing as unique code paths.

Not included in these changes is the addition of the `ReadPartitionPublishingProperties`
member and live tests; those will be covered in dedicated work streams.

* Fixed test recording mode (#15100)

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 965 (#14909)

* Added Close and RetainUncommitedData to DataLakeFileUploadOptions (#15046)

* Add changelog to SDK version 5.0.0 (#15073)

* add changelog to version 5.0.0

* nit

* update changelog and add release date

* targeting 2.1 (#15079)

* Update AutoRest C# version to https://github.com/Azure/autorest.csharp/releases/download/3.0.0-dev.20200911.1/autorest-csharp-v3-3.0.0-dev.20200911.1.tgz (#15107)

* Fixed bug where DataLakeFileClient.Rename(), DataLakePathClient.Rename(), and DataLakeDirectoryClient.Rename() couldn't handle source paths with special characters (#15106)

* [Storage] Make Specialized Blob Clients retrieval mockable. (#15105)

* Prepare Storage for release

* pr feedback.

* PR feedback.

* pr feedback.

* make open write work with using.

* move recordings to right place

* pr feedback.

* make specialized clients retrieval mockable.

* pr feedback.

* export api.

* record mode...

* Fix #14974: [BUG] DefaultAzureCredential improperly catches AuthenticationFailedException (#15057)

* Fix #14974: [BUG] DefaultAzureCredential improperly catches AuthenticationFailedExcpetion

* Check for cancellationToken

* - Update Changelog
- Add workaround for test playback

* Addressed PR comments

* Addressed Error for Events Missing Required Fields   (#15076)

* Handled deserialization of events with missing fields

Should throw an error if required fields for EventGridEvent are missing when Parse is called

* Added tests for this error

* Added a similar constructor in CloudEvent that checks if Id (a required field) is null

* Sync eng/common directory with azure-sdk-tools for PR 973 (#14995)

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 973

* Update update-docs-metadata.ps1

* Update update-docs-metadata.ps1

Co-authored-by: Sima Zhu <[email protected]>

* Treat service directory as single scope (#15114)

* Treat service directory as single scope

Relates to #14969

* Resolve PR feedback

* Add the option to have UserAssignedMsi when authentication uses KeyVault certificate. Previously, the code would only use the system assigned MSI if any. (#14676)

Co-authored-by: dnicolescu <[email protected]>

* Probe IMDS /metadata/instance endpoint during discovery in MsiAccessTokenProvider (#14631)

* Call imds instance endpoint instead of token endpoint to probe for imds, extend timeout

* Update msi token tests to distinguish between which imds endpoint is being called

* Fix comment and visibility in test

* Change per stpetrov

* re-trigger checks

* Add migration guide for Key Vault secrets (#15118)

* Add migration guide for Key Vault secrets

Relates to #12108

* Update mgmt.yml for Azure Pipelines

Updating the casing AutoManage to Automanage

* [Event Hubs Client] Idempotent Producer Client (#15125)

The focus of these changes is to enable the `EventDataBatch` to reserve
appropriate space for publishing sequence numbers, when required by the active
producer configuration and to complete the client API surface by implementing
the `ReadPartitionPublishingProperties` method.

* Add EventGrid WebJobs extension (#15058)

* Consume generator as a package (#15133)

Generator, Autorest shared soure and targets are all packed into a single nuget package now.

* Use node 13 for CodeGeneration and merge pipelines (#14989)

* Stowen/automanage fix casing (#15136)

* Includes Generated Files And Half Of Unit Test Coverage

* tests completed

* updated readme

* updated versions, included AssemblyInfo

* removed unneeded package references

* updated assemblyname to properCasing

* Rename Microsoft.Azure.Management.Automanage.sln to Microsoft.Azure.Management.AutoManage.sln

* casing fixes

* added metadata file

* lineending+

* newline--

* changed hardcoded reference to dotnet coreapp31

* PR feedback, fixed csproj hard coded versions, added required properties to csproj

* fixing ambiguous package name error

* fixed version number

* fix wrong reference in generate

* PRfeedback, fixed incorrect tag references, version numbers, and remove unneeded dotnet version

* pr feedback, fixing missing session records

* renamed missing test

* fixed old test

* changed casing to match RP

* bulk rename

Co-authored-by: Stephen Owen <[email protected]>

* Update mgmt.yml for Azure Pipelines to include MySQL (#15150)

* Update CODEOWNERS (#15037)

Update the AzConfig label

* Generate the MySQL SDKs 0.1.0 public preview (#15116)

* Add MySQL SDKs and tests

* Change to 0.1.0 version

* commit to trigger the pipelines

* updating release notes

Co-authored-by: Raj Sellappan <[email protected]>

* Generate PostgreSQL SDKs 0.9.5 public preview (#15115)

* Generate PostgreSQL SDKs and tests

* updating release notes for PostgreSQL

Co-authored-by: Raj Sellappan <[email protected]>

* Increment package version after release of Azure.Messaging.EventGrid (#14980)

* Added Close to DataLakeOpenWriteOptions, removed RetainedUncommittedData from DataLakeUploadOptions (#15140)

* Updated hybrid compute project (#14797)

* initial-updates

* working tests

* remove ctor

* new tests

* feedback

* json files

* updated session files

* update to 2020-08-02

Co-authored-by: Tyler Leonhardt (POWERSHELL) <[email protected]>

* Add migration guides for KV certs and keys (#15147)

* Add migration guides for KV certs and secrets

Resolves #12108

* Add README links to MigrationGuide.md docs

For all services that currently have them.

* Update AutoRest C# version (#15145)

* Expose select query option on GetEntity (#15161)

* Expose select query option on GetEntity

* Introduce an exponential retry for service timing issue causing flakey Live tests (#15159)

see https://dev.azure.com/azure-sdk/internal/_build/results?buildId=537514&view=results

* Added skipPublishDocMs and github io for each artifact (#15119)

* Update code owners file for azure template (#14767)

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 999 (#15165)

* Update verbiage of changelog (#15177)

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 1000 (#15166)

* Add sql test for cosmosdb (#15055)

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 974 (#14997)

* Update FromObjectAsync return type (#15192)

* Sync eng/common directory with azure-sdk-tools repository for Tools PR 895 (#14996)

* [Event Hubs Client] Integrate v5.3.0-beta.1 Release Branch (#15162) (#15181)

The focus of these changes is to integrate the release branch for Event Hubs
v5.3.0-beta.1.

The release introduces an option for the various event consumers allowing
the prefetch cache to be filled based on a size-based heuristic rather than
a count of events.  This feature is considered a special case, helpful in
scenarios where the size of events being read is not able to be known or
predicted upfront and limiting resource use is valued over consistent and
predictable performance.

* remove dev endpoint for testing (#15208)

* Update AutoRest C# version (#15209)

* Reorder backup and restore operation ctor args and add sample (#15205)

fixes #15065

* [Storage] Queues one message receive (#15180)

* Prepare Storage for release

* pr feedback.

* PR feedback.

* pr feedback.

* make open write work with using.

* move recordings to right place

* pr feedback.

* receive one message.

* peek one message

* api

* remove redundant scope.

* pr feedback.

* Update azure-sdk-build-tools Repository Resource Refs in Yaml files (#15216)

* Organize published artifacts (#14832)

* Begin rearranging published packages

* Add step to arrange artifacts

* Remove steps for testing

* Swtich output directory

* Remove analyze and test pipeline

* Remove artifact staging from release stages

* Fix Doc Upload

* Bump Template version, remove test and analyze job

* Uncomment deployment steps

* ReAdd release stage

* Remove stage artifacts file

* Bump up template version

* Update archetype-net-release.yml and copy-docs-to-blobstorage.ps1

* Make use of VerifyPackages to retrieve pkg properties

* Update template version to test release

* Bump Azure Template

* Update dotnet upload docs code (#15218)

* Update CHANGELOG.md (#15234)

* Deserialize custom dimensions from application insights API response (#14917)

* Deserialize custom dimensions from application insights API response.
Fixes #13042

* Test non-empty CustomDimensions from application insights API response

Co-authored-by: Oleg Deribas <[email protected]>

* Increment package version after release of Azure.AI.TextAnalytics (#15239)

* Update AutoRest C# version (#15238)

* [CosmosDB] Add database account operations tests (#15189)

* Fix error in directions in Key Vault READMEs (#15213)

* Switch ApiCompat to use PackageDownload (#15250)

Turns out instead of using the apicompat project workaround
we can use a PackageDownload reference to get the last shipped
package. This allows us to do the apicompat check completely
inside the project we are checking.

* Replaced relative link with absolute links and remove locale (#15223)

Replaced relative link with absolute links and remove locale

* Add MongoDB operations tests and it's recordings (#15254)

* Enable the link check on aggregate-report (#15257)

* Increase diagnostics-id overhead in EventDataBatch (#15193)

* Increment package version after release of Microsoft.Azure.ServiceBus (#15111)

* Increment package version after release of Microsoft.Azure.HDInsight.Job (#14291)

* Update EventTypes.cs (#13569)

* Fix nullability on Search models (#15240)

Fixes #15108

* Update CODEOWNERS (#15244)

* Added azure monitor entry.

* Change label entry

* New label

* Increment version for synapse releases (#14751)

* Increment package version after release of Azure.Analytics.Synapse.Spark

* Increment package version after release of Azure.Analytics.Synapse.Artifacts

* Increment package version after release of Azure.Analytics.Synapse.AccessControl

* Increment version for identity releases (#15113)

Increment package version after release of Azure.Identity

* [Azure Messaging] README Updates (Troubleshooting + Logging) (#15237)

The focus of these changes is to enhance the troubleshooting section of
the README documentation with information about logging and distributed
tracing, calling out to the existing Azure.Core resource for details.

* Fixed link to Azure SDK Design Guidelines for .NET (#15210)

* Increase connection pool size limit automatically (#15263)

* updated .NetSDK version for Websites to 2020-06-01 (#15230)

* updated .NetSDK version for Websites to 2020-06-01

* Updated API version targetting to 2020-06-01

* Fix potential deadlock in checking database account name existence (#15255)

* Dns ZoneType Change (#15236)

* WIP: Initial CRUD and List test for record and zone

* WIP: Port of cloud issues

* WIP:  OneTimeTearDown and setup working. No double test runs

* WIP: don't make zone twice

* WIP: Commit test

* WIP: Fix changelog and readme

* WIP: Fix yaml

* WIP: Fix yml 2

* WIP: Remove unused function

* Remove .swp file

* Remove SWP file

* Update DNS Track 2 test

* Add Tests Recordings

* Fix Class name

* WIP: Update tests

* WIP: Make exception test clearner

* WIP: Update live test records

* Revert json change

* Small fixes

* WIP: Update SLN

* WIP: Dns gen update

* Revert "WIP: Dns gen update"

This reverts commit 2c0317c.

* WIP: make zonetype obsolete

* WIP: make zone type readonly

* WIP: update test

* WIP: Make all private relate fields obsolete

* WIP: only change things we want to change

* WIP: Update test

* WIP: Update test

* WIP: update test correctly

Co-authored-by: bqauntump <[email protected]>

* Remove obsolete conditions from Search (#15268)

Fixes #14096 to simplify the code for upcoming changes.

* pr fb

* Revert "Merge remote-tracking branch 'upstream/master' into api-learn-api-activity"

This reverts commit e483353, reversing
changes made to 8b7b2d6.

Co-authored-by: Meha Kaushik <[email protected]>
Co-authored-by: Meha Kaushik <[email protected]>
Co-authored-by: Christopher Scott <[email protected]>
Co-authored-by: Mariana Rios Flores <[email protected]>
Co-authored-by: Timothy Mothra <[email protected]>
Co-authored-by: Pavel Krymets <[email protected]>
Co-authored-by: bikamani <[email protected]>
Co-authored-by: JoshLove-msft <[email protected]>
Co-authored-by: Rajkumar Rangaraj <[email protected]>
Co-authored-by: Chidozie Ononiwu <[email protected]>
Co-authored-by: Sean McCullough <[email protected]>
Co-authored-by: Scott Schaab <[email protected]>
Co-authored-by: David R. Williamson <[email protected]>
Co-authored-by: Azure SDK Bot <[email protected]>
Co-authored-by: strehan1993 <[email protected]>
Co-authored-by: Heath Stewart <[email protected]>
Co-authored-by: Chou Hu <[email protected]>
Co-authored-by: Yeming Liu <[email protected]>
Co-authored-by: Jingshu923 <[email protected]>
Co-authored-by: wonner <[email protected]>
Co-authored-by: Wan Yang <[email protected]>
Co-authored-by: Kamil Sobol <[email protected]>
Co-authored-by: timtay-microsoft <[email protected]>
Co-authored-by: Allen Zhang <[email protected]>
Co-authored-by: vinagesh <[email protected]>
Co-authored-by: Kerri Lee <[email protected]>
Co-authored-by: Auðunn <[email protected]>
Co-authored-by: Audunn Baldvinsson <[email protected]>
Co-authored-by: Wes Haggard <[email protected]>
Co-authored-by: ShivangiReja <[email protected]>
Co-authored-by: Mikhail <[email protected]>
Co-authored-by: Christopher Scott <[email protected]>
Co-authored-by: Heath Stewart <[email protected]>
Co-authored-by: Arvind Krishnaa J <[email protected]>
Co-authored-by: Arvind Krishnaa Jagannathan <[email protected]>
Co-authored-by: Dhawal Jain <[email protected]>
Co-authored-by: Loïc Sharma <[email protected]>
Co-authored-by: Stephen Owen <[email protected]>
Co-authored-by: Stephen Owen <[email protected]>
Co-authored-by: Ruoxuan Wang <[email protected]>
Co-authored-by: Jesse Squire <[email protected]>
Co-authored-by: Alexander Sher <[email protected]>
Co-authored-by: bquantump <[email protected]>
Co-authored-by: bqauntump <[email protected]>
Co-authored-by: Sima Zhu <[email protected]>
Co-authored-by: Mitch Denny <[email protected]>
Co-authored-by: Charles Lowell <[email protected]>
Co-authored-by: Michael Yanni <[email protected]>
Co-authored-by: brandong-ms <[email protected]>
Co-authored-by: xaliciayang <[email protected]>
Co-authored-by: Minghao Chen <[email protected]>
Co-authored-by: hutzleo <[email protected]>
Co-authored-by: Tianyun Gao (MSFT) <[email protected]>
Co-authored-by: nisha-bhatia <[email protected]>
Co-authored-by: erich-wang <[email protected]>
Co-authored-by: Congrui <[email protected]>
Co-authored-by: asrosent <[email protected]>
Co-authored-by: Yalin Li <[email protected]>
Co-authored-by: ajaygit158 <[email protected]>
Co-authored-by: Ajay Gupta <[email protected]>
Co-authored-by: navysingla <[email protected]>
Co-authored-by: DorothySun216 <[email protected]>
Co-authored-by: Sean Feldman <[email protected]>
Co-authored-by: Avani Gupta <[email protected]>
Co-authored-by: Ramya Rao <[email protected]>
Co-authored-by: Dan Nicolescu <[email protected]>
Co-authored-by: dnicolescu <[email protected]>
Co-authored-by: Isaac Sarek Banner <[email protected]>
Co-authored-by: Alex Ghiondea <[email protected]>
Co-authored-by: gechris <[email protected]>
Co-authored-by: Raj Sellappan <[email protected]>
Co-authored-by: Tyler James Leonhardt <[email protected]>
Co-authored-by: Tyler Leonhardt (POWERSHELL) <[email protected]>
Co-authored-by: Gene Hazan <[email protected]>
Co-authored-by: Oleg Deribas <[email protected]>
Co-authored-by: Serkant Karaca <[email protected]>
Co-authored-by: xioyi <[email protected]>
Co-authored-by: Alexander Batishchev <[email protected]>
Co-authored-by: Kota Sudhakar Reddy <[email protected]>
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-net that referenced this pull request Jul 20, 2021
[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 e0624d2b17a8dcee07acfb08f39508a773a8dc21

* 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]>
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-net that referenced this pull request Jul 20, 2021
[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 e0624d2b17a8dcee07acfb08f39508a773a8dc21

* 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]>
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-net that referenced this pull request Jul 20, 2021
[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 e0624d2b17a8dcee07acfb08f39508a773a8dc21

* 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]>
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-net that referenced this pull request Jul 20, 2021
[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 e0624d2b17a8dcee07acfb08f39508a773a8dc21

* 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]>
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-net that referenced this pull request Jul 20, 2021
[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 e0624d2b17a8dcee07acfb08f39508a773a8dc21

* 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]>
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-net that referenced this pull request Jul 20, 2021
[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 e0624d2b17a8dcee07acfb08f39508a773a8dc21

* 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]>
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-net that referenced this pull request Jul 20, 2021
[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 e0624d2b17a8dcee07acfb08f39508a773a8dc21

* 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]>
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-net that referenced this pull request Jul 20, 2021
[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 e0624d2b17a8dcee07acfb08f39508a773a8dc21

* 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]>
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-net that referenced this pull request Jul 20, 2021
[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 e0624d2b17a8dcee07acfb08f39508a773a8dc21

* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants