Skip to content

Commit

Permalink
Add createOrUpdateSchemaGroup operation (#13243)
Browse files Browse the repository at this point in the history
* Update swagger.json

* add description to etag property

add description to etag property to indicate read-only purposes.
  • Loading branch information
hmlam authored Jul 16, 2020
1 parent ce21daa commit ab7e851
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions sdk/schemaregistry/azure-data-schemaregistry/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,20 @@
]
},
"put": {
"summary": "Create schema group",
"description": "Create schema group with specified schema type in registry namespace.",
"operationId": "createGroup",
"summary": "Create or update a schema group",
"description": "Create or update schema group with specified schema type in registry namespace.",
"operationId": "createOrUpdateGroup",
"parameters": [
{
"name": "If-Match",
"description": "Specify an ETag value to perform update operation only on schema group with a matching Guid value. If a '*' is supplied then update is performed without ETag check. Supplying empty value will enforce the create-only behavior",
"in": "header",
"required": false,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"description": "schema group description",
"required": true,
Expand Down Expand Up @@ -472,6 +483,10 @@
"schemaType": {
"type": "string"
},
"etag": {
"type": "string",
"description": "Define an read-only identifier that uniquely describe an instance of the group. This is returned from get call for update purposes. Setting this on create or update has no effect."
},
"schemaCompatibility": {
"type": "integer",
"description": "schema compatibility mode enum, defined by supported schema type"
Expand Down

0 comments on commit ab7e851

Please sign in to comment.