Skip to content

Commit 9336afc

Browse files
committed
Automatically updated the core v2 API OpenAPI definition.
1 parent 9af2a8e commit 9336afc

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

app/src/main/resources-unfiltered/META-INF/resources/api-specifications/registry/v2/openapi-auth.json

+22
Original file line numberDiff line numberDiff line change
@@ -2175,6 +2175,28 @@
21752175
"$ref": "#/components/schemas/EncodedArtifactName"
21762176
},
21772177
"in": "header"
2178+
},
2179+
{
2180+
"name": "X-Registry-Content-Hash",
2181+
"description": "Specifies the SHA-256 of the artifact to be verified.",
2182+
"schema": {
2183+
"type": "string"
2184+
},
2185+
"in": "header",
2186+
"required": false
2187+
},
2188+
{
2189+
"name": "X-Registry-Hash-Algorithm",
2190+
"description": "The algorithm to use when checking the content validity. (available: SHA256,MD5; default: SHA256)",
2191+
"schema": {
2192+
"enum": [
2193+
"SHA256",
2194+
"MD5"
2195+
],
2196+
"type": "string"
2197+
},
2198+
"in": "header",
2199+
"required": false
21782200
}
21792201
],
21802202
"responses": {

app/src/main/resources-unfiltered/META-INF/resources/api-specifications/registry/v2/openapi.json

+23-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.0.2",
33
"info": {
44
"title": "Apicurio Registry API [v2]",
5-
"version": "2.2.5.Final",
5+
"version": "2.2.4-SNAPSHOT",
66
"description": "Apicurio Registry is a datastore for standard event schemas and API designs. Apicurio Registry enables developers to manage and share the structure of their data using a REST interface. For example, client applications can dynamically push or pull the latest updates to or from the registry without needing to redeploy. Apicurio Registry also enables developers to create rules that govern how registry content can evolve over time. For example, this includes rules for content validation and version compatibility.\n\nThe Apicurio Registry REST API enables client applications to manage the artifacts in the registry. This API provides create, read, update, and delete operations for schema and API artifacts, rules, versions, and metadata. \n\nThe supported artifact types include:\n- Apache Avro schema\n- AsyncAPI specification\n- Google protocol buffers\n- GraphQL schema\n- JSON Schema\n- Kafka Connect schema\n- OpenAPI specification\n- Web Services Description Language\n- XML Schema Definition\n\n\n**Important**: The Apicurio Registry REST API is available from `https://MY-REGISTRY-URL/apis/registry/v2` by default. Therefore you must prefix all API operation paths with `../apis/registry/v2` in this case. For example: `../apis/registry/v2/ids/globalIds/{globalId}`.\n",
77
"contact": {
88
"name": "Apicurio",
@@ -2175,6 +2175,28 @@
21752175
"$ref": "#/components/schemas/EncodedArtifactName"
21762176
},
21772177
"in": "header"
2178+
},
2179+
{
2180+
"name": "X-Registry-Content-Hash",
2181+
"description": "Specifies the SHA-256 of the artifact to be verified.",
2182+
"schema": {
2183+
"type": "string"
2184+
},
2185+
"in": "header",
2186+
"required": false
2187+
},
2188+
{
2189+
"name": "X-Registry-Hash-Algorithm",
2190+
"description": "The algorithm to use when checking the content validity. (available: SHA256,MD5; default: SHA256)",
2191+
"schema": {
2192+
"enum": [
2193+
"SHA256",
2194+
"MD5"
2195+
],
2196+
"type": "string"
2197+
},
2198+
"in": "header",
2199+
"required": false
21782200
}
21792201
],
21802202
"responses": {

0 commit comments

Comments
 (0)