Orders Service (Changelog)

Service that handles orders

Service
  • 2024-08-01 (latest)

    openapi.yml CHANGED
    @@ -1,8 +1,8 @@
    1
      openapi: 3.1.0
    2
      info:
    3
      title: Simple Task - API
    4
    - version: 1.0.0
    5
      description: Simple Api
    6
      contact: {}
    7
      license:
    8
      name: apache 2.0
    @@ -58,8 +58,97 @@
    58
      name: id
    59
      required: true
    60
      schema:
    61
      type: string
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    62
     
    63
      components:
    64
      schemas:
    65
      Task:
    @@ -92,5 +181,5 @@
    92
      type: object
    93
      securitySchemes:
    94
      authorization:
    95
      type: http
    96
    - scheme: bearer
     
    1
      openapi: 3.1.0
    2
      info:
    3
      title: Simple Task - API
    4
    + version: 1.0.2
    5
      description: Simple Api
    6
      contact: {}
    7
      license:
    8
      name: apache 2.0
     
    58
      name: id
    59
      required: true
    60
      schema:
    61
      type: string
    62
    + delete:
    63
    + summary: Delete Task
    64
    + operationId: DeleteTask
    65
    + responses:
    66
    + '204':
    67
    + description: Task deleted
    68
    + '400':
    69
    + description: Problem with data
    70
    + content:
    71
    + application/json:
    72
    + schema:
    73
    + $ref: '#/components/schemas/Error'
    74
    + '403':
    75
    + description: Not Authorized
    76
    + content:
    77
    + application/json:
    78
    + schema:
    79
    + $ref: '#/components/schemas/Unauthorized'
    80
    + '404':
    81
    + description: not found
    82
    + content:
    83
    + application/json:
    84
    + schema:
    85
    + $ref: '#/components/schemas/Error'
    86
    + '500':
    87
    + description: Internal server error
    88
    + content:
    89
    + application/json:
    90
    + schema:
    91
    + $ref: '#/components/schemas/Error'
    92
    + description: Delete a task
    93
    + security:
    94
    + - authorization: []
    95
    + parameters:
    96
    + - in: path
    97
    + name: id
    98
    + required: true
    99
    + schema:
    100
    + type: string
    101
    + /v1/tasks:
    102
    + get:
    103
    + summary: Get List of Tasks
    104
    + operationId: GetTaskList
    105
    + responses:
    106
    + '200':
    107
    + description: Successfully retrieved list of tasks
    108
    + content:
    109
    + application/json:
    110
    + schema:
    111
    + type: array
    112
    + items:
    113
    + $ref: '#/components/schemas/Task'
    114
    + '400':
    115
    + description: Bad request
    116
    + content:
    117
    + application/json:
    118
    + schema:
    119
    + $ref: '#/components/schemas/Error'
    120
    + '403':
    121
    + description: Not Authorized
    122
    + content:
    123
    + application/json:
    124
    + schema:
    125
    + $ref: '#/components/schemas/Unauthorized'
    126
    + '500':
    127
    + description: Internal server error
    128
    + content:
    129
    + application/json:
    130
    + schema:
    131
    + $ref: '#/components/schemas/Error'
    132
    + description: Retrieves a list of all tasks
    133
    + security:
    134
    + - authorization: []
    135
    + parameters:
    136
    + - in: query
    137
    + name: limit
    138
    + schema:
    139
    + type: integer
    140
    + minimum: 1
    141
    + maximum: 100
    142
    + default: 20
    143
    + description: The maximum number of tasks to return
    144
    + - in: query
    145
    + name: offset
    146
    + schema:
    147
    + type: integer
    148
    + minimum: 0
    149
    + default: 0
    150
    + description: The number of tasks to skip before starting to return results
    151
     
    152
      components:
    153
      schemas:
    154
      Task:
     
    181
      type: object
    182
      securitySchemes:
    183
      authorization:
    184
      type: http
    185
    + scheme: bearer
  • 2024-08-01