DHIL-3364 - CRUD APIs Order (init)
This commit is contained in:
parent
34457a653e
commit
57ded8dfe2
33
src/openapi/orders/orders-crud.yaml
Normal file
33
src/openapi/orders/orders-crud.yaml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
openapi: "3.0.3"
|
||||||
|
info:
|
||||||
|
title: ABT Orders CRUD APIs
|
||||||
|
version: "1.0"
|
||||||
|
description: CRUD APIs for ABT Orders database. These are NOT the functional APIs from Service Engine.
|
||||||
|
servers:
|
||||||
|
- url: https://api.integratielaag.nl/v1
|
||||||
|
paths:
|
||||||
|
/orders:
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- Order
|
||||||
|
summary: Create a new order.
|
||||||
|
description: Create a new order.
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/unavailable"
|
||||||
|
example:
|
||||||
|
null
|
||||||
|
responses:
|
||||||
|
"201":
|
||||||
|
description: Created
|
||||||
|
components:
|
||||||
|
securitySchemes:
|
||||||
|
bearerToken:
|
||||||
|
type: http
|
||||||
|
scheme: bearer
|
||||||
|
bearerFormat: JWT
|
||||||
|
schemas:
|
||||||
|
unavailable:
|
||||||
|
type: object
|
||||||
Loading…
Reference in New Issue
Block a user