-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Fix swagger examples #3091
Fix swagger examples #3091
Conversation
* Network Watcher: Suppressing a validation message * Network watcher: Fixed property name in ConnectivityCheckRequest: HTTPConfiguration -> httpConfiguration * Revert "Network watcher: Fixed property name in ConnectivityCheckRequest: HTTPConfiguration -> httpConfiguration" This reverts commit 857a54b. * Fixed message in warning supression
April version to package tag
…lusion (Azure#2911) * SoftwareUpdateConfiguration Changes to support Inclusion * Removed NotSelected
* Fix ASE instance metrics url * Another location of the error
* [Storage] Add rest version 2018-02-01 * [Storage] Add storage blob API * [Storage] Update Example for ContainerAPI * Add multi-api configuration * [Storage] Update Example for ContainerAPI * [Storage] Set LegalHold Tags as required * [Storage] use the common type defined in common-types/resource-management/v1/types.json * [Storage] revert to use REsourceGroup defined in storage swagger since the common one has input it from client, which is breaking
* added $skip and $top to list commands * removed skip and top for namespaces
…2942) * Visual Search API: request schema update for filter parameter * Add preview parent directory
* Update nodejs config for cognitive services * Use preview version for visualSearch
* BatchAI. SDK 2018-05-01 Changes: - Added first class support for Horovod framework - Added first class support for custom mpi commands - Introduced workspaces - Introduces experiments as a grouping mechanism for related jobs - Moved jobs from the top level into workpace/experiment - Moved clusters and file servers from the top level into workspaces - Removing filter and select parameters as they are not suppported yet - Removing FileServer type as only NFS is supporter - Removed type of output directories - server doesn't support it - Removed 'createNew' attribute of output directory because there is no use-case scenario for having it equal to false. * Addressed CR feedback * BatchAI. Get rid of booleans and added readonly attributes to where applicable
(cherry picked from commit e784eca)
* Swagger specs for all existing versions of Microsoft.PolicyInsights * Add support for --validate; make where clauses explicit in existing (approval request pending) suppressions; add new suppression for equivalent paths error (approval request pending) * Fix $top in examples; fix casing in examples * Fix two more instances of $top type in examples * Fix metadata examples by adding content type header and changing the body to a single string * Remove EQUIVALENT_PATH suppressions; add extendedProperties as additionalProperties; add @odata.count to operations; remove "type" from "rows" in first 2017-08-09-preview and add descriptions * Fix remaining examples with bad casings * Fix additionalParameters definition; fix duplicate paths * Remove redundant operations path/definitions from one of the swagger files for each version (one per namespace is sufficient as long as both files are fed into autorest as a bundle) * Change group name for operations path, and rename response type definition * Change group name for operations path, and rename response type definition (old API versions) * Reorganize files; change modelAsString for x-ms-enum to true Reorganize files (remove resource type based subfolders; rename conflicting example files to have resource type name; change swagger spec files and MD file based on new file locations and names); change modelAsString for x-ms-enum to true based on API review board recommendation * Dummy change to kick the CI again * Fix operations path example contents * Specs for 2018-04-04
* Py conf for VisualSearch * Fix input-file path
Retrieves the list of table fragments from the Data Lake Analytics catalog
The read me was pointing to "2018-03-01-preview" which doesn't exist. Updating the tag to their current folder.
…es for 2 enums. (Azure#2953) * Initial placeholder for 2018-05-01-preview version using the contents of 2018-01-01 version. * Changes for the 2018-05-01-preview version. * Added StorageBlobDeadLetterDestination. * Added an additional enum value CloudEventV01Schema. * Added InputSchema to topic properties. * Tagging endpointType a required property in deadletterdestination. * Added x-ms-azure-resource for TrackedResource, and added some default values.
… Level Balances (Azure#2857) * This PR includes above-subscription level (Enrollment, Department, or Account) Marketplace, Usage Details, and Enrollment Level Balances. * Updated consumption.json to fix build failure issues * Added "Get" to Operation Name 'BalancesByBillingAccount' and also replaced priceHidden boolean type with enum for more clarity * Added Enrollment-Level balances by BillingPeriod * Updated BalancesByBillingAccount example files and added x-ms-parameter-location to some parameters missing that part. * Replaced Microsoft.CostManagment with Microsoft.Billing * Fixed example errors
* Added x-mx-odata properties for some resources currently required for cmdlet work * New filters and nit fixes * Fix the Webhook Model
… it is already part of the base class Resource. (Azure#2991)
* Refacroting DSCNodeConfigurationCreate Parameters * Fix the return model for Get NodeConfig call
VirtualNetworkGateways_SetVpnclientIpsecParameters AND VirtualNetworkGateways_GetVpnclientIpsecParameters are not in production
adding Vulnerability Assessemnt APIs to readme
…tation rule. (Azure#3074) * Update openapi-authoring-automated-guidelines.md * Update openapi-authoring-automated-guidelines.md * Update openapi-authoring-automated-guidelines.md * Update openapi-authoring-automated-guidelines.md * Update openapi-authoring-automated-guidelines.md * Update openapi-authoring-automated-guidelines.md
* Round I - Modify readmes to initiate swagger to sdk * Round II - Add readme.ruby.md file signalr * Round III - Added missed APIs * Round IV - Update gem versions
No examples need to be updated because none made use of the incorrect SKU
…implemented at NRP level. (Azure#3072)
* Update swagger for api-version 2018-03-01 - add many missing examples - improve/complete descriptions and summaries * Fix a handful of validation failures Add/correct some response codes * Fix back-compat for some error codes (leaving it inconsistent) Change policyAssignment result for nonexistent delete by ID to match all other delete methods Attempt to fix Travis FNF error * Fix bracket bug in last commit * Another attempt to fix Travis CI FNF error: simplifying the example file as much as possible. * Another attempt to fix Travis FNF error (filename casing...) * Putting back original example, modified during troubleshooting. * Apply PR feedback (fix errors in a couple examples) * Correct/improve wording in description properties.
* BatchAI. Added ExperimentBaseProperties It fixes auto-generated clients. * BatchAI. Updated examples Unique subdirectory will be only generated for jobs because only jobs generate output and so may have conflict with previous job versions. * BatchAI. Remove CreateExperimentParameters
IOOptimized was an old pre-release name for BusinessCritical.
…ationEvent/Response and SubscriptionDeletedEvent (Azure#3061) * Added definitions for SubscriptionValidationEventData and SubscriptionDeletedEventData. * Made the newly introduced properties readonly. * Added subscription validation response.
* blob events trigger * address review feedback * resolve blob path property issue
Automation for azure-libraries-for-javaThis PR contains more than 3 context, SDK generation is not enabled. Contexts found:
|
Automation for azure-sdk-for-nodeThis PR contains more than 3 context, SDK generation is not enabled. Contexts found:
|
…into fixexamples
@MikhailTryakhov since we are close to merging the May API version, do we still want to merge this PR against the May branch? |
Automation for azure-sdk-for-pythonThis PR contains more than 3 context, SDK generation is not enabled. Contexts found:
|
Automation for azure-sdk-for-goThis PR contains more than 3 context, SDK generation is not enabled. Contexts found:
|
Created #3092 instad |
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-version
in the path should match theapi-version
in the spec).Quality of Swagger