Skip to content

Commit ddd74d0

Browse files
committed
[strimzi#434] docs: after review fix
Signed-off-by: ilkerkocatepe <[email protected]>
1 parent 970ac87 commit ddd74d0

File tree

2 files changed

+4
-42
lines changed

2 files changed

+4
-42
lines changed

src/main/resources/openapi.json

+2-24
Original file line numberDiff line numberDiff line change
@@ -762,31 +762,9 @@
762762
"operationId": "createTopic",
763763
"responses": {
764764
"200": {
765-
"description": "Topic metadata",
766-
"content": {
767-
"application/vnd.kafka.v2+json": {
768-
"schema": {
769-
"$ref": "#/components/schemas/TopicMetadata"
770-
}
771-
}
772-
}
773-
},
774-
"404": {
775-
"description": "The path was not found.",
765+
"description": "No content",
776766
"content": {
777-
"application/vnd.kafka.v2+json": {
778-
"schema": {
779-
"$ref": "#/components/schemas/Error"
780-
},
781-
"examples": {
782-
"response": {
783-
"value": {
784-
"error_code": 404,
785-
"message": "The path was not found."
786-
}
787-
}
788-
}
789-
}
767+
"application/vnd.kafka.v2+json": {}
790768
}
791769
}
792770
}

src/main/resources/openapiv2.json

+2-18
Original file line numberDiff line numberDiff line change
@@ -695,24 +695,8 @@
695695
"operationId": "createTopic",
696696
"responses": {
697697
"200": {
698-
"description": "Topic metadata",
699-
"schema": {
700-
"$ref": "#/definitions/TopicMetadata"
701-
}
702-
},
703-
"404": {
704-
"description": "The path was not found.",
705-
"schema": {
706-
"$ref": "#/definitions/Error"
707-
},
708-
"examples": {
709-
"response": {
710-
"value": {
711-
"error_code": 404,
712-
"message": "The path was not found."
713-
}
714-
}
715-
}
698+
"description": "No content",
699+
"schema": {}
716700
}
717701
}
718702
},

0 commit comments

Comments
 (0)