Commit 1e65803a authored by Nathan Chambron's avatar Nathan Chambron
Browse files

modified deleteTrackable to give trackable id in path

parent a397c355
Loading
Loading
Loading
Loading
+20 −20
Original line number Diff line number Diff line
@@ -57,25 +57,6 @@ paths:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      summary: Deletes a trackable
      operationId: deleteTrackable
      tags:
      - trackables
      parameters:
        - name: trackableId
          in: path
          description: trackable id to delete
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
        '400':
          description: Invalid ID supplied
        '404':
          description: trackable not found
    get:
      summary: returns the list of all trackables defined by the world storage.
      operationId: getTrackables
@@ -122,6 +103,25 @@ paths:
          description: "Invalid ID supplied"
        '404':
          description: "Trackable not found"
    delete:
      summary: Deletes a trackable
      operationId: deleteTrackable
      tags:
      - trackables
      parameters:
        - name: trackableId
          in: path
          description: trackable id to delete
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
        '400':
          description: Invalid ID supplied
        '404':
          description: trackable not found              
components:
  schemas:
    trackable: