Skip to content

Commit

Permalink
align with spec generated from tooling
Browse files Browse the repository at this point in the history
user and notification align

Refactor products and apis

validating examples

validating examples

move all parameters to apimanagement.json

Fix reference issue with tagcontract and example DeleteCache.
  • Loading branch information
solankisamir committed Feb 25, 2019
1 parent d2b8387 commit 67dca3c
Show file tree
Hide file tree
Showing 130 changed files with 2,297 additions and 2,610 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|isCurrent | eq | |\n"
"description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|isCurrent | eq | |\n"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionSetIdParameter"
"$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -159,7 +159,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionSetIdParameter"
"$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -208,7 +208,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionSetIdParameter"
"$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
},
{
"name": "parameters",
Expand Down Expand Up @@ -281,7 +281,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionSetIdParameter"
"$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
},
{
"name": "parameters",
Expand Down Expand Up @@ -333,7 +333,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionSetIdParameter"
"$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
Expand Down Expand Up @@ -517,16 +517,5 @@
}
},
"parameters": {
"ApiVersionSetIdParameter": {
"name": "versionSetId",
"in": "path",
"required": true,
"type": "string",
"description": "Api Version Set identifier. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 80,
"pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
"x-ms-parameter-location": "method"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers": {
"get": {
"tags": [
"AuthorizationServers"
"AuthorizationServer"
],
"operationId": "AuthorizationServer_ListByService",
"description": "Lists a collection of authorization servers defined within a service instance.",
Expand All @@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
"description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
Expand Down Expand Up @@ -96,7 +96,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}": {
"head": {
"tags": [
"AuthorizationServers"
"AuthorizationServer"
],
"operationId": "AuthorizationServer_GetEntityTag",
"description": "Gets the entity state (Etag) version of the authorizationServer specified by its identifier.",
Expand All @@ -113,7 +113,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/AuthenticationServerIdParameter"
"$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -142,7 +142,7 @@
},
"get": {
"tags": [
"AuthorizationServers"
"AuthorizationServer"
],
"operationId": "AuthorizationServer_Get",
"description": "Gets the details of the authorization server specified by its identifier.",
Expand All @@ -159,7 +159,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/AuthenticationServerIdParameter"
"$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -191,7 +191,7 @@
},
"put": {
"tags": [
"AuthorizationServers"
"AuthorizationServer"
],
"operationId": "AuthorizationServer_CreateOrUpdate",
"description": "Creates new authorization server or updates an existing authorization server.",
Expand All @@ -208,7 +208,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/AuthenticationServerIdParameter"
"$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
},
{
"name": "parameters",
Expand Down Expand Up @@ -264,7 +264,7 @@
},
"patch": {
"tags": [
"AuthorizationServers"
"AuthorizationServer"
],
"operationId": "AuthorizationServer_Update",
"description": "Updates the details of the authorization server specified by its identifier.",
Expand All @@ -281,7 +281,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/AuthenticationServerIdParameter"
"$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
},
{
"name": "parameters",
Expand Down Expand Up @@ -316,7 +316,7 @@
},
"delete": {
"tags": [
"AuthorizationServers"
"AuthorizationServer"
],
"operationId": "AuthorizationServer_Delete",
"description": "Deletes specific authorization server instance.",
Expand All @@ -333,7 +333,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/AuthenticationServerIdParameter"
"$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
Expand Down Expand Up @@ -684,17 +684,5 @@
"description": "OAuth acquire token request body parameter (www-url-form-encoded)."
}
},
"parameters": {
"AuthenticationServerIdParameter": {
"name": "authsid",
"in": "path",
"required": true,
"type": "string",
"description": "Identifier of the authorization server.",
"minLength": 1,
"maxLength": 80,
"pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
"x-ms-parameter-location": "method"
}
}
"parameters": { }
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends": {
"get": {
"tags": [
"Backends"
"Backend"
],
"operationId": "Backend_ListByService",
"description": "Lists a collection of backends in the specified service instance.",
Expand All @@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|title | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|url | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
"description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|title | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|url | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
Expand Down Expand Up @@ -96,7 +96,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendId}": {
"head": {
"tags": [
"Backends"
"Backend"
],
"operationId": "Backend_GetEntityTag",
"description": "Gets the entity state (Etag) version of the backend specified by its identifier.",
Expand All @@ -113,7 +113,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/BackendIdParameter"
"$ref": "./apimanagement.json#/parameters/BackendIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -142,7 +142,7 @@
},
"get": {
"tags": [
"Backends"
"Backend"
],
"operationId": "Backend_Get",
"description": "Gets the details of the backend specified by its identifier.",
Expand All @@ -159,7 +159,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/BackendIdParameter"
"$ref": "./apimanagement.json#/parameters/BackendIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -191,7 +191,7 @@
},
"put": {
"tags": [
"Backends"
"Backend"
],
"operationId": "Backend_CreateOrUpdate",
"description": "Creates or Updates a backend.",
Expand All @@ -211,7 +211,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/BackendIdParameter"
"$ref": "./apimanagement.json#/parameters/BackendIdParameter"
},
{
"name": "parameters",
Expand Down Expand Up @@ -267,7 +267,7 @@
},
"patch": {
"tags": [
"Backends"
"Backend"
],
"operationId": "Backend_Update",
"description": "Updates an existing backend.",
Expand All @@ -284,7 +284,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/BackendIdParameter"
"$ref": "./apimanagement.json#/parameters/BackendIdParameter"
},
{
"name": "parameters",
Expand Down Expand Up @@ -319,7 +319,7 @@
},
"delete": {
"tags": [
"Backends"
"Backend"
],
"operationId": "Backend_Delete",
"description": "Deletes the specified backend.",
Expand All @@ -336,7 +336,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/BackendIdParameter"
"$ref": "./apimanagement.json#/parameters/BackendIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
Expand Down Expand Up @@ -367,7 +367,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendId}/reconnect": {
"post": {
"tags": [
"Backends"
"BackendReconnect"
],
"operationId": "Backend_Reconnect",
"description": "Notifies the APIM proxy to create a new connection to the backend after the specified timeout. If no timeout was specified, timeout of 2 minutes is used.",
Expand All @@ -384,7 +384,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/BackendIdParameter"
"$ref": "./apimanagement.json#/parameters/BackendIdParameter"
},
{
"name": "parameters",
Expand Down Expand Up @@ -766,17 +766,5 @@
"description": "Properties to control reconnect requests."
}
},
"parameters": {
"BackendIdParameter": {
"name": "backendId",
"in": "path",
"required": true,
"type": "string",
"description": "Identifier of the Backend entity. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 80,
"pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
"x-ms-parameter-location": "method"
}
}
"parameters": { }
}
Loading

0 comments on commit 67dca3c

Please sign in to comment.