Skip to content

Commit

Permalink
More adjustments, remove readOnly fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lornajane committed Oct 7, 2024
1 parent 46ee733 commit 1a68dc7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
Expand Down Expand Up @@ -30,7 +30,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/MuseumHoursCollection"
$ref: "#/components/schemas/MuseumHours"
examples:
default_example:
$ref: "#/components/examples/GetMuseumHoursResponseExample"
Expand Down Expand Up @@ -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.
Expand All @@ -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:
Expand All @@ -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"
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 1a68dc7

Please sign in to comment.