Skip to content

Commit 8a45b1c

Browse files
committed
add POST to the schemas endpoint
1 parent 52a887a commit 8a45b1c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

source/openapi/v2/paths/schemas.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,20 @@ get:
1111
description: Bad request
1212
'500':
1313
description: Internal server error
14+
post:
15+
summary: Analyze a schema from a provided ODD file
16+
requestBody:
17+
required: true
18+
content:
19+
application/octet-stream: {}
20+
responses:
21+
'200':
22+
description: Successful operation
23+
content:
24+
application/vnd.api+json:
25+
schema:
26+
$ref: "../components/schemas/detailsSchemaJsonResponse.yaml"
27+
'400':
28+
description: Bad request
29+
'500':
30+
description: Internal server error

0 commit comments

Comments
 (0)