Skip to content

Commit

Permalink
[strimzi#434] docs: after review fix
Browse files Browse the repository at this point in the history
Signed-off-by: ilkerkocatepe <[email protected]>
  • Loading branch information
ilkerkocatepe committed Oct 13, 2024
1 parent 9d3106b commit 51ff0ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 42 deletions.
26 changes: 2 additions & 24 deletions src/main/resources/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -762,31 +762,9 @@
"operationId": "createTopic",
"responses": {
"200": {
"description": "Topic metadata",
"content": {
"application/vnd.kafka.v2+json": {
"schema": {
"$ref": "#/components/schemas/TopicMetadata"
}
}
}
},
"404": {
"description": "The path was not found.",
"description": "No content",
"content": {
"application/vnd.kafka.v2+json": {
"schema": {
"$ref": "#/components/schemas/Error"
},
"examples": {
"response": {
"value": {
"error_code": 404,
"message": "The path was not found."
}
}
}
}
"application/vnd.kafka.v2+json": {}
}
}
}
Expand Down
20 changes: 2 additions & 18 deletions src/main/resources/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,24 +695,8 @@
"operationId": "createTopic",
"responses": {
"200": {
"description": "Topic metadata",
"schema": {
"$ref": "#/definitions/TopicMetadata"
}
},
"404": {
"description": "The path was not found.",
"schema": {
"$ref": "#/definitions/Error"
},
"examples": {
"response": {
"value": {
"error_code": 404,
"message": "The path was not found."
}
}
}
"description": "No content",
"schema": {}
}
}
},
Expand Down

0 comments on commit 51ff0ff

Please sign in to comment.