Orders Service (Changelog)
Service that handles orders
Service
-
2024-08-01 (latest)
openapi.yml CHANGED@@ -1,8 +1,8 @@1 openapi: 3.1.02 info:3 title: Simple Task - API4 - version: 1.0.05 description: Simple Api6 contact: {}7 license:8 name: apache 2.0@@ -58,8 +58,97 @@58 name: id59 required: true60 schema:61 type: string
62
63 components:64 schemas:65 Task:@@ -92,5 +181,5 @@92 type: object93 securitySchemes:94 authorization:95 type: http96 - scheme: bearer1 openapi: 3.1.02 info:3 title: Simple Task - API4 + version: 1.0.25 description: Simple Api6 contact: {}7 license:8 name: apache 2.058 name: id59 required: true60 schema:61 type: string62 + delete:63 + summary: Delete Task64 + operationId: DeleteTask65 + responses:66 + '204':67 + description: Task deleted68 + '400':69 + description: Problem with data70 + content:71 + application/json:72 + schema:73 + $ref: '#/components/schemas/Error'74 + '403':75 + description: Not Authorized76 + content:77 + application/json:78 + schema:79 + $ref: '#/components/schemas/Unauthorized'80 + '404':81 + description: not found82 + content:83 + application/json:84 + schema:85 + $ref: '#/components/schemas/Error'86 + '500':87 + description: Internal server error88 + content:89 + application/json:90 + schema:91 + $ref: '#/components/schemas/Error'92 + description: Delete a task93 + security:94 + - authorization: []95 + parameters:96 + - in: path97 + name: id98 + required: true99 + schema:100 + type: string101 + /v1/tasks:102 + get:103 + summary: Get List of Tasks104 + operationId: GetTaskList105 + responses:106 + '200':107 + description: Successfully retrieved list of tasks108 + content:109 + application/json:110 + schema:111 + type: array112 + items:113 + $ref: '#/components/schemas/Task'114 + '400':115 + description: Bad request116 + content:117 + application/json:118 + schema:119 + $ref: '#/components/schemas/Error'120 + '403':121 + description: Not Authorized122 + content:123 + application/json:124 + schema:125 + $ref: '#/components/schemas/Unauthorized'126 + '500':127 + description: Internal server error128 + content:129 + application/json:130 + schema:131 + $ref: '#/components/schemas/Error'132 + description: Retrieves a list of all tasks133 + security:134 + - authorization: []135 + parameters:136 + - in: query137 + name: limit138 + schema:139 + type: integer140 + minimum: 1141 + maximum: 100142 + default: 20143 + description: The maximum number of tasks to return144 + - in: query145 + name: offset146 + schema:147 + type: integer148 + minimum: 0149 + default: 0150 + description: The number of tasks to skip before starting to return results151
152 components:153 schemas:154 Task:181 type: object182 securitySchemes:183 authorization:184 type: http185 + scheme: bearer -
2024-08-01