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 +61 + /v1/tasks:62 + get:63 + summary: Get List of Tasks64 + operationId: GetTaskList65 + responses:66 + '200':67 + description: Successfully retrieved list of tasks68 + content:69 + application/json:70 + schema:71 + type: array72 + items:73 + $ref: '#/components/schemas/Task'74 + '400':75 + description: Bad request76 + content:77 + application/json:78 + schema:79 + $ref: '#/components/schemas/Error'80 + '403':81 + description: Not Authorized82 + content:83 + application/json:84 + schema:85 + $ref: '#/components/schemas/Unauthorized'86 + '500':87 + description: Internal server error88 + content:89 + application/json:90 + schema:91 + $ref: '#/components/schemas/Error'92 + description: Retrieves a list of all tasks93 + security:94 + - authorization: []95 + parameters:96 + - in: query97 + name: limit98 + schema:99 + type: integer100 + minimum: 1101 + maximum: 100102 + default: 20103 + description: The maximum number of tasks to return104 + - in: query105 + name: offset106 + schema:107 + type: integer108 + minimum: 0109 + default: 0110 + description: The number of tasks to skip before starting to return results111
112 components:113 schemas:114 Task:115 properties:116 comments:117 type: string118 creationDate:119 type: string120 taskId:121 type: string122 description:123 type: string124 lastUpdate:125 type: string126 type: object127 additionalProperties: false128 Error:129 properties:130 error:131 type: string132 required:133 - error134 type: object135 Unauthorized:136 properties:137 message:138 type: string139 required:140 - message141 type: object142 securitySchemes:143 authorization:144 type: http145 + scheme: bearer -
2024-08-01