Orders Service (Changelog)
Service that handles orders
Service
-
2024-08-01 (latest)
openapi.yml CHANGEDopenapi: 3.1.00 info:1 title: Simple Task - API2 - version: 1.0.03 description: Simple Api4 contact: {}5 license:6 name: apache 2.07 identifier: apache-2.08 url: https://www.apache.org/licenses/LICENSE-2.0.html9
10 servers:11 - url: https://example.com/12 13 paths:14 /v1/task/{id}:15 put:16 summary: Do Simple Task17 operationId: DoSimpleTask18 responses:19 '200':20 description: do a task by id21 content:22 application/json:23 schema:24 $ref: '#/components/schemas/Task'25 '204':26 description: No content27 '400':28 description: Problem with data29 content:30 application/json:31 schema:32 $ref: '#/components/schemas/Error'33 '403':34 description: Not Authorized35 content:36 application/json:37 schema:38 $ref: '#/components/schemas/Unauthorized'39 '404':40 description: not found41 content:42 application/json:43 schema:44 $ref: '#/components/schemas/Error'45 '500':46 description: Internal server error47 content:48 application/json:49 schema:50 $ref: '#/components/schemas/Error'51 description: Allows to do a simple task52 security:53 - authorization: []54 parameters:55 - in: path56 name: id57 required: true58 schema:59 type: string
60
61 components:62 schemas:63 Task:64 properties:65 comments:66 type: string67 creationDate:68 type: string69 taskId:70 type: string71 description:72 type: string73 lastUpdate:74 type: string75 type: object76 additionalProperties: false77 Error:78 properties:79 error:80 type: string81 required:82 - error83 type: object84 Unauthorized:85 properties:86 message:87 type: string88 required:89 - message90 type: object91 securitySchemes:92 authorization:93 type: http94 - scheme: bearer0 info:1 title: Simple Task - API2 + version: 1.0.23 description: Simple Api4 contact: {}5 license:6 name: apache 2.07 identifier: apache-2.08 url: https://www.apache.org/licenses/LICENSE-2.0.html9
10 servers:11 - url: https://example.com/12 13 paths:14 /v1/task/{id}:15 put:16 summary: Do Simple Task17 operationId: DoSimpleTask18 responses:19 '200':20 description: do a task by id21 content:22 application/json:23 schema:24 $ref: '#/components/schemas/Task'25 '204':26 description: No content27 '400':28 description: Problem with data29 content:30 application/json:31 schema:32 $ref: '#/components/schemas/Error'33 '403':34 description: Not Authorized35 content:36 application/json:37 schema:38 $ref: '#/components/schemas/Unauthorized'39 '404':40 description: not found41 content:42 application/json:43 schema:44 $ref: '#/components/schemas/Error'45 '500':46 description: Internal server error47 content:48 application/json:49 schema:50 $ref: '#/components/schemas/Error'51 description: Allows to do a simple task52 security:53 - authorization: []54 parameters:55 - in: path56 name: id57 required: true58 schema:59 type: string60 + delete:61 + summary: Delete Task62 + operationId: DeleteTask63 + responses:64 + '204':65 + description: Task deleted66 + '400':67 + description: Problem with data68 + content:69 + application/json:70 + schema:71 + $ref: '#/components/schemas/Error'72 + '403':73 + description: Not Authorized74 + content:75 + application/json:76 + schema:77 + $ref: '#/components/schemas/Unauthorized'78 + '404':79 + description: not found80 + content:81 + application/json:82 + schema:83 + $ref: '#/components/schemas/Error'84 + '500':85 + description: Internal server error86 + content:87 + application/json:88 + schema:89 + $ref: '#/components/schemas/Error'90 + description: Delete a task91 + security:92 + - authorization: []93 + parameters:94 + - in: path95 + name: id96 + required: true97 + schema:98 + type: string99 + /v1/tasks:100 + get:101 + summary: Get List of Tasks102 + operationId: GetTaskList103 + responses:104 + '200':105 + description: Successfully retrieved list of tasks106 + content:107 + application/json:108 + schema:109 + type: array110 + items:111 + $ref: '#/components/schemas/Task'112 + '400':113 + description: Bad request114 + content:115 + application/json:116 + schema:117 + $ref: '#/components/schemas/Error'118 + '403':119 + description: Not Authorized120 + content:121 + application/json:122 + schema:123 + $ref: '#/components/schemas/Unauthorized'124 + '500':125 + description: Internal server error126 + content:127 + application/json:128 + schema:129 + $ref: '#/components/schemas/Error'130 + description: Retrieves a list of all tasks131 + security:132 + - authorization: []133 + parameters:134 + - in: query135 + name: limit136 + schema:137 + type: integer138 + minimum: 1139 + maximum: 100140 + default: 20141 + description: The maximum number of tasks to return142 + - in: query143 + name: offset144 + schema:145 + type: integer146 + minimum: 0147 + default: 0148 + description: The number of tasks to skip before starting to return results149
150 components:151 schemas:152 Task:153 properties:154 comments:155 type: string156 creationDate:157 type: string158 taskId:159 type: string160 description:161 type: string162 lastUpdate:163 type: string164 type: object165 additionalProperties: false166 Error:167 properties:168 error:169 type: string170 required:171 - error172 type: object173 Unauthorized:174 properties:175 message:176 type: string177 required:178 - message179 type: object180 securitySchemes:181 authorization:182 type: http183 + scheme: bearer -
2024-08-01