Skip to content

Commit f0d90eb

Browse files
shinjiDevsolankisamirazaslonovDreamlessAyingru97
authored andcommitted
Schema resource added in REST API Spec for api-version 2021-04-01-preview (Azure#15667)
* Adds base for updating Microsoft.ApiManagement from version preview/2021-01-01-preview to version 2021-04-01-preview * Updates readme * Updates API version in new specs and examples * Added support for GraphQL API type (Azure#14851) * Added support for GraphQL API type * Added missing enum value for GraphQL APIs. * add schema definition fix from 2021-01-01-preview (Azure#14883) Co-authored-by: Alan Feng <[email protected]> * Vanguard: Get Outbound Network Dependency (Azure#14900) * outbound dependency * fix resource * Update backup/restore API for managed identities (Azure#14973) * Update backup/restore API for system-assigned and user-assigned identities * Fix formatting issue * Rename user-assigned-msi-client-id with client-id * SystemData implemenation on API Management Control Plane (Azure#14899) * system-data * fix spec * remove unreferenced file * APIM - Network Watcher Connectivity Check integration specs (Azure#15056) * Connectivity Check API Specs * Fix * Fix errors * style fixs * Fix 202 code * HTTPConnect request parameters * Fix errors Co-authored-by: Nicolás Barrera <[email protected]> * Parameter examples added (Azure#14836) * platformversion (Azure#15114) * fix update service (Azure#15478) * HttpConnect example (Azure#15493) * HttpConnect example * Prettifier fix Co-authored-by: Nicolás Barrera <[email protected]> * Rename from SchemaContract to ApiSchemaContract * apimschema.json added to last apim preview version * Completing specification for Schema resource. Fixing changes in SchemaContract. * Value field added to Schema resource specification. * path fixed. Renamed from ApiSchema to Schema. Adding suppression rule to readme.md Custom word added for spellcheck * Fixing PR observations. * Added properties of difference API spec format for "SchemaDocumentProperties" (Azure#15703) * add schema definition fix from 2021-01-01-preview * added properties for SchemaDocumentProperties * updated the fix * updated fix * [APIM]Add private endpoint connection APIs (Azure#15115) * Add private endpoint connection apis * add readme * quick fixes * fix to PE contract * Small fixes * small fixes * small fixes * Small fixes * small fixes * small fix * small fixes * small fixes * small fixes * Update readme.md * fix error * small fix * fix format * address comments * small fixes * Change to lower case * small fixes Co-authored-by: msyyc <[email protected]> * Merge main * Modifications to Schema definition to add "description" field. Updating examples of Schema. * Fixing apimanagement.json * Prettier applied in files * Fixing PR comments * fixing x-ms-long-running-operation. * x-ms-long-running-operation : true in apischema. * Removing "Resource" type from apimanagement.json * Apimschema.json updated to point to types.json for ErrorResponse. * undoing change of responseBody * Updating ErrorResponse. * Fixing definitions merge. Co-authored-by: Samir Solanki <[email protected]> Co-authored-by: Alexander Zaslonov <[email protected]> Co-authored-by: DreamlessA <[email protected]> Co-authored-by: Alan Feng <[email protected]> Co-authored-by: Jatin Sanghvi <[email protected]> Co-authored-by: Nicolás Barrera <[email protected]> Co-authored-by: Nicolás Barrera <[email protected]> Co-authored-by: VitaliyKurokhtin <[email protected]> Co-authored-by: Christian Palomares <[email protected]> Co-authored-by: RupengLiu <[email protected]> Co-authored-by: msyyc <[email protected]>
1 parent 02d9d49 commit f0d90eb

File tree

13 files changed

+759
-32
lines changed

13 files changed

+759
-32
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ apimproperties
104104
apimquotas
105105
apimregions
106106
apimreports
107+
apimschema
107108
apimsubscriptions
108109
apimtagresources
109110
apimtags

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-04-01-preview/apimanagement.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -607,17 +607,6 @@
607607
"description": "The name of the resource group.",
608608
"x-ms-parameter-location": "method"
609609
},
610-
"SchemaIdParameter": {
611-
"name": "schemaId",
612-
"in": "path",
613-
"required": true,
614-
"type": "string",
615-
"description": "Schema identifier within an API. Must be unique in the current API Management service instance.",
616-
"minLength": 1,
617-
"maxLength": 80,
618-
"pattern": "^[^*#&+:<>?]+$",
619-
"x-ms-parameter-location": "method"
620-
},
621610
"ServiceNameParameter": {
622611
"name": "serviceName",
623612
"in": "path",
@@ -765,6 +754,16 @@
765754
"minLength": 1,
766755
"maxLength": 80,
767756
"x-ms-parameter-location": "method"
757+
},
758+
"SchemaIdParameter": {
759+
"name": "schemaId",
760+
"in": "path",
761+
"required": true,
762+
"type": "string",
763+
"description": "Schema id identifier. Must be unique in the current API Management service instance.",
764+
"minLength": 1,
765+
"maxLength": 80,
766+
"x-ms-parameter-location": "method"
768767
}
769768
}
770769
}

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-04-01-preview/apimapis.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2184,7 +2184,7 @@
21842184
"200": {
21852185
"description": "Apis Schema Collection.",
21862186
"schema": {
2187-
"$ref": "./definitions.json#/definitions/SchemaCollection"
2187+
"$ref": "./definitions.json#/definitions/ApiSchemaCollection"
21882188
}
21892189
},
21902190
"default": {
@@ -2284,7 +2284,7 @@
22842284
"200": {
22852285
"description": "Api Schema information.",
22862286
"schema": {
2287-
"$ref": "./definitions.json#/definitions/SchemaContract"
2287+
"$ref": "./definitions.json#/definitions/ApiSchemaContract"
22882288
},
22892289
"headers": {
22902290
"ETag": {
@@ -2330,7 +2330,7 @@
23302330
"in": "body",
23312331
"required": true,
23322332
"schema": {
2333-
"$ref": "./definitions.json#/definitions/SchemaContract"
2333+
"$ref": "./definitions.json#/definitions/ApiSchemaContract"
23342334
},
23352335
"description": "The schema contents to apply."
23362336
},
@@ -2351,7 +2351,7 @@
23512351
"201": {
23522352
"description": "Api schema configuration was successfully created.",
23532353
"schema": {
2354-
"$ref": "./definitions.json#/definitions/SchemaContract"
2354+
"$ref": "./definitions.json#/definitions/ApiSchemaContract"
23552355
},
23562356
"headers": {
23572357
"ETag": {
@@ -2363,7 +2363,7 @@
23632363
"200": {
23642364
"description": "Api schema configuration of the tenant was successfully updated.",
23652365
"schema": {
2366-
"$ref": "./definitions.json#/definitions/SchemaContract"
2366+
"$ref": "./definitions.json#/definitions/ApiSchemaContract"
23672367
},
23682368
"headers": {
23692369
"ETag": {

0 commit comments

Comments
 (0)