From 24d586df5708a7a095fa05939bf7b6317b83e53b Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Fri, 25 Nov 2022 15:25:33 +0100 Subject: [PATCH] chore(openapi): remove bundles from spec (#185) Remove Bundles from spec until the actual implementation (https://github.com/italia/developers-italia-api/issues/13) --- developers-italia.oas.yaml | 149 ------------------------------------- 1 file changed, 149 deletions(-) diff --git a/developers-italia.oas.yaml b/developers-italia.oas.yaml index 3c1ab46..b8ced06 100644 --- a/developers-italia.oas.yaml +++ b/developers-italia.oas.yaml @@ -31,8 +31,6 @@ servers: tags: - name: software description: Operations on software - - name: bundles - description: Operations on bundles - name: logs description: Operations on logs - name: publishers @@ -576,144 +574,6 @@ paths: $ref: '#/components/callbacks/ResourceUpdate' delete: $ref: '#/components/callbacks/ResourceDelete' - /bundles: - get: - summary: List all Bundles - description: List all Bundles - tags: - - bundles - responses: - '200': - description: OK - content: - application/json: - schema: - type: object - additionalProperties: false - properties: - data: - type: array - minItems: 0 - maxItems: 100 - items: - $ref: '#/components/schemas/Bundle' - links: - $ref: '#/components/schemas/Links' - '400': - $ref: '#/components/responses/BadRequest' - '429': - $ref: '#/components/responses/TooManyRequests' - operationId: list-bundles - post: - summary: Create a Bundle - description: Create a Bundle - tags: - - bundles - security: - - bearerAuth: [] - operationId: create-bundles - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/Bundle' - '400': - $ref: '#/components/responses/BadRequest' - '401': - $ref: '#/components/responses/Unauthorized' - '404': - $ref: '#/components/responses/NotFound' - '422': - $ref: '#/components/responses/UnprocessableEntity' - '429': - $ref: '#/components/responses/TooManyRequests' - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Bundle' - examples: {} - '/bundle/{bundleId}': - parameters: - - schema: - type: string - maxLength: 36 - pattern: '[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}' - name: bundleId - in: path - required: true - get: - summary: Get a Bundle - description: Get a Bundle by its id - tags: - - bundles - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/Bundle' - '400': - $ref: '#/components/responses/BadRequest' - '404': - $ref: '#/components/responses/NotFound' - '429': - $ref: '#/components/responses/TooManyRequests' - operationId: show-bundle-bundleId - patch: - summary: Update a Bundle - description: Update a Bundle by its id - tags: - - bundles - security: - - bearerAuth: [] - operationId: update-bundle-bundleId - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/Software' - '400': - $ref: '#/components/responses/BadRequest' - '401': - $ref: '#/components/responses/Unauthorized' - '404': - $ref: '#/components/responses/NotFound' - '422': - $ref: '#/components/responses/UnprocessableEntity' - '429': - $ref: '#/components/responses/TooManyRequests' - requestBody: - required: true - content: - application/merge-patch+json: - schema: - $ref: '#/components/schemas/Bundle' - delete: - summary: Delete a Bundle - description: Delete a Bundle by its id - tags: - - bundles - security: - - bearerAuth: [] - operationId: remove-bundle-bundleId - responses: - '204': - $ref: '#/components/responses/NoContent' - '400': - $ref: '#/components/responses/BadRequest' - '401': - $ref: '#/components/responses/Unauthorized' - '404': - $ref: '#/components/responses/NotFound' - '429': - $ref: '#/components/responses/TooManyRequests' /logs: get: summary: List all Logs @@ -1589,15 +1449,6 @@ components: - createdAt - updatedAt - message - Bundle: - title: Bundle - type: object - additionalProperties: false - properties: - id: - type: string - maxLength: 36 - pattern: '[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}' Links: type: object additionalProperties: false