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

Adding new API version for Microsoft.Web RP which fixes swagger errors #2802

Merged
merged 15 commits into from
Apr 12, 2018
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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