diff --git a/dictation_server/src/api/odms/openapi.json b/dictation_server/src/api/odms/openapi.json index 7331140..fc93bd5 100644 --- a/dictation_server/src/api/odms/openapi.json +++ b/dictation_server/src/api/odms/openapi.json @@ -1218,6 +1218,71 @@ } ] } + }, + "/licenses/orders": { + "post": { + "operationId": "signup", + "summary": "", + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateOrdersRequest" + } + } + } + }, + "responses": { + "200": { + "description": "成功時のレスポンス", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateOrdersResponse" + } + } + } + }, + "400": { + "description": "同一PONumberの注文がすでに存在する場合など", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "認証エラー", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "想定外のサーバーエラー", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + }, + "tags": ["licenses"], + "security": [ + { + "bearer": [] + } + ] + } } }, "info": { @@ -1867,6 +1932,22 @@ "RegisterResponse": { "type": "object", "properties": {} + }, + "CreateOrdersRequest": { + "type": "object", + "properties": { + "poNumber": { + "type": "string" + }, + "orderCount": { + "type": "number" + } + }, + "required": ["poNumber", "orderCount"] + }, + "CreateOrdersResponse": { + "type": "object", + "properties": {} } } }