Skip to content

Commit

Permalink
Adding new API version for Microsoft.Web RP which fixes swagger errors (
Browse files Browse the repository at this point in the history
#2802)

* Adding new API version

* Adding new API version that hides properties that have the same name as in ARM envelope

* Latest updates

* Fixing the error definition reference

* Fixing description for default response

* Add suppression for one RPC 3019 error

* Adding examples for the resource health metadata

* Fixing API version in the examples

* Removing ClassicMobileServices.json

* Removed location element for top level domain examples

* Removing deprecated method

* Fixing the sample for ListTopLevelDomainAgreements API

* Fixing the type for "ManagedServiceIdentityType",
  • Loading branch information
ruslany authored and olydis committed Apr 12, 2018
1 parent 9e232d5 commit 67edb3f
Show file tree
Hide file tree
Showing 57 changed files with 43,569 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"swagger": "2.0",
"info": {
"version": "2018-02-01",
"title": "CertificateRegistrationProvider API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/providers/Microsoft.CertificateRegistration/operations": {
"get": {
"tags": [
"CertificateRegistrationProvider"
],
"summary": "Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
"description": "Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
"operationId": "CertificateRegistrationProvider_ListOperations",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "../../../Microsoft.Web/stable/2018-02-01/CommonDefinitions.json#/definitions/CsmOperationCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "../../../Microsoft.Web/stable/2018-02-01/CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"List operations": {
"$ref": "./examples/ListOperations.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {},
"parameters": {
"subscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).",
"required": true,
"type": "string"
},
"apiVersionParameter": {
"name": "api-version",
"in": "query",
"description": "API Version",
"required": true,
"type": "string"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"description": "Azure Active Directory OAuth2 Flow",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
{
"parameters": {
"api-version": "2018-02-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Write",
"display": {
"provider": "Microsoft Certificates",
"resource": "Certificate",
"operation": "Add or Update Certificate",
"description": "Add a new certificate or update an existing one"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/Write",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Add or Update AppServiceCertificate",
"description": "Add a new certificateOrder or update an existing one"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Delete",
"display": {
"provider": "Microsoft Certificates",
"resource": "Certificate",
"operation": "Delete Certificate",
"description": "Delete an existing certificate"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/Delete",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Delete AppServiceCertificate",
"description": "Delete an existing AppServiceCertificate"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/Read",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Get CertificateOrders",
"description": "Get the list of CertificateOrders"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Read",
"display": {
"provider": "Microsoft Certificates",
"resource": "Certificate",
"operation": "Get Certificates",
"description": "Get the list of certificates"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/reissue/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Reissue certificateorder",
"description": "Reissue an existing certificateorder"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/renew/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Renew certificateorder",
"description": "Renew an existing certificateorder"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/retrieveCertificateActions/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Certificateorder actions",
"description": "Retrieve the list of certificate actions"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/retrieveEmailHistory/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Certificateorder email history",
"description": "Retrieve certificate email history"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/resendEmail/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Resend Certificateorder email",
"description": "Resend certificate email"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/verifyDomainOwnership/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Verify domain ownership",
"description": "Verify domain ownership"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Resend request emails to another email address",
"description": "Resend request emails to another email address"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Retrieve site seal for an issued App Service Certificate",
"description": "Retrieve site seal for an issued App Service Certificate"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/provisionGlobalAppServicePrincipalInUserTenant/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Provision service principal",
"description": "Provision service principal for service app principal"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/validateCertificateRegistrationInformation/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Certificate Purchase Info Validation",
"description": "Validate certificate purchase object without submitting it"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/register/action",
"display": {
"provider": "Microsoft Certificates",
"resource": "Microsoft Certificates resource provider",
"operation": "Register Microsoft Certificates resource provider",
"description": "Register the Microsoft Certificates resource provider for the subscription"
},
"origin": "user,system"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"swagger": "2.0",
"info": {
"version": "2018-02-01",
"title": "DomainRegistrationProvider API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/providers/Microsoft.DomainRegistration/operations": {
"get": {
"tags": [
"DomainRegistrationProvider"
],
"summary": "Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
"description": "Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
"operationId": "DomainRegistrationProvider_ListOperations",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "../../../Microsoft.Web/stable/2018-02-01/CommonDefinitions.json#/definitions/CsmOperationCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "../../../Microsoft.Web/stable/2018-02-01/CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"List operations": {
"$ref": "./examples/ListOperations.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {},
"parameters": {
"subscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).",
"required": true,
"type": "string"
},
"apiVersionParameter": {
"name": "api-version",
"in": "query",
"description": "API Version",
"required": true,
"type": "string"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"description": "Azure Active Directory OAuth2 Flow",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
}
Loading

0 comments on commit 67edb3f

Please sign in to comment.