-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More adjustments, remove readOnly fields
- Loading branch information
Showing
1 changed file
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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. | ||
|