From 2e54982c0451c8ee9b3ec4c5d4c6e8d8b0db006f Mon Sep 17 00:00:00 2001 From: Dagger Agent Date: Mon, 19 May 2025 09:00:30 +0000 Subject: [PATCH] Follows up on PR #39 --- openapi.yaml | 85 +--------------------------------------------------- 1 file changed, 1 insertion(+), 84 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index e098466..7e8f2fe 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -33,87 +33,4 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BookInput' - responses: - '201': - description: Book created successfully - content: - application/json: - schema: - $ref: '#/components/schemas/Book' - '400': - description: Invalid input - '500': - description: Internal server error - - /api/books/{id}: - get: - summary: Get a book by ID - description: Returns a single book by its ID - operationId: getBookById - parameters: - - name: id - in: path - required: true - description: ID of the book to retrieve - schema: - type: integer - format: int64 - responses: - '200': - description: Book found - content: - application/json: - schema: - $ref: '#/components/schemas/Book' - '404': - description: Book not found - '500': - description: Internal server error - -components: - schemas: - BookInput: - type: object - required: - - title - - author - properties: - title: - type: string - description: The title of the book - example: "The Great Gatsby" - author: - type: string - description: The author of the book - example: "F. Scott Fitzgerald" - - Book: - type: object - properties: - ID: - type: integer - format: int64 - description: The unique identifier of the book - example: 1 - CreatedAt: - type: string - format: date-time - description: When the book was created - UpdatedAt: - type: string - format: date-time - description: When the book was last updated - DeletedAt: - type: string - format: date-time - nullable: true - description: When the book was deleted (soft delete) - title: - type: string - description: The title of the book - example: "The Great Gatsby" - author: - type: string - description: The author of the book - example: "F. Scott Fitzgerald" + ... Hide contents \ No newline at end of file