diff --git a/openapi.yaml b/openapi.yaml index d7d2d85..1797d93 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2,7 +2,7 @@ openapi: 3.1.0 info: title: Redocly Museum API description: Imaginary, but delightful Museum API for interacting with museum services and information. Built with love by Redocly. - version: 1.1.1 + version: 1.2.0 termsOfService: 'https://redocly.com/subscription-agreement/' contact: email: team@redocly.com @@ -30,7 +30,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/MuseumHoursCollection" + $ref: "#/components/schemas/MuseumHours" examples: default_example: $ref: "#/components/examples/GetMuseumHoursResponseExample" @@ -249,7 +249,6 @@ components: description: Unique identifier for museum ticket. Generated when purchased. type: string format: uuid - readOnly: true example: a54a57ca-36f8-421b-a6b4-2e8f26858a4c TicketConfirmation: description: Unique confirmation code used to verify ticket purchase. @@ -270,7 +269,6 @@ components: description: Unique identifier for a special event. Required if purchasing tickets for the museum's special events. $ref: "#/components/schemas/EventId" required: - - ticketId - ticketType - ticketDate MuseumTicketsConfirmation: @@ -290,8 +288,8 @@ components: description: Image of a ticket with a QR code used for museum or event entry. type: string format: binary - MuseumHoursCollection: - description: List of museum operating hours for consecutive days. + MuseumHours: + description: List of museum operating hours for a date range. type: array items: $ref: "#/components/schemas/MuseumDailyHours" @@ -322,7 +320,6 @@ components: type: string format: uuid example: 3be6453c-03eb-4357-ae5a-984a0e574a54 - readOnly: true EventName: type: string description: Name of the special event.