Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Dec 20, 2024
1 parent 853a39c commit cd04b60
Show file tree
Hide file tree
Showing 276 changed files with 5,495 additions and 5,496 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Reservation'
$ref: "#/components/schemas/Reservation"
responses:
"202":
description: Accepted
Expand Down Expand Up @@ -52,7 +52,7 @@ components:
type: array
description: Rooms to be reserved
items:
$ref: '#/components/schemas/ReserveRoom'
$ref: "#/components/schemas/ReserveRoom"
startDate:
type: string
description: Start date in yyyy-mm-dd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/Location'
$ref: "#/components/schemas/Location"
/locations/{id}/rooms:
get:
summary: Reperesents Snowpeak room collection resource
Expand Down Expand Up @@ -52,7 +52,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Rooms'
$ref: "#/components/schemas/Rooms"
/reservation:
put:
summary: Represents Snowpeak reservation resource
Expand All @@ -62,14 +62,14 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Reservation'
$ref: "#/components/schemas/Reservation"
responses:
"200":
description: Ok
content:
application/json:
schema:
$ref: '#/components/schemas/ReservationReceipt'
$ref: "#/components/schemas/ReservationReceipt"
"409":
description: Conflict
content:
Expand All @@ -84,14 +84,14 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Reservation'
$ref: "#/components/schemas/Reservation"
responses:
"201":
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/ReservationReceipt'
$ref: "#/components/schemas/ReservationReceipt"
"409":
description: Conflict
content:
Expand All @@ -114,14 +114,14 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Payment'
$ref: "#/components/schemas/Payment"
responses:
"201":
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/PaymentReceipt'
$ref: "#/components/schemas/PaymentReceipt"
"409":
description: Conflict
content:
Expand Down Expand Up @@ -162,10 +162,10 @@ components:
links:
type: array
items:
$ref: '#/components/schemas/Link'
$ref: "#/components/schemas/Link"
Location:
allOf:
- $ref: '#/components/schemas/Links'
- $ref: "#/components/schemas/Links"
- required:
- address
- id
Expand Down Expand Up @@ -231,7 +231,7 @@ components:
description: Represents resort room
Rooms:
allOf:
- $ref: '#/components/schemas/Links'
- $ref: "#/components/schemas/Links"
- required:
- rooms
type: object
Expand All @@ -240,7 +240,7 @@ components:
type: array
description: Array of rooms
items:
$ref: '#/components/schemas/Room'
$ref: "#/components/schemas/Room"
ReserveRoom:
required:
- count
Expand All @@ -266,7 +266,7 @@ components:
type: array
description: Rooms to be reserved
items:
$ref: '#/components/schemas/ReserveRoom'
$ref: "#/components/schemas/ReserveRoom"
startDate:
type: string
description: Start date in yyyy-mm-dd
Expand All @@ -276,7 +276,7 @@ components:
description: Represents a reservation of rooms
ReservationReceipt:
allOf:
- $ref: '#/components/schemas/Links'
- $ref: "#/components/schemas/Links"
- required:
- expiryDate
- id
Expand All @@ -294,7 +294,7 @@ components:
type: string
description: Last updated time stamp
reservation:
$ref: '#/components/schemas/Reservation'
$ref: "#/components/schemas/Reservation"
Payment:
required:
- cardNumber
Expand Down Expand Up @@ -339,5 +339,5 @@ components:
type: array
description: Booked rooms
items:
$ref: '#/components/schemas/Room'
$ref: "#/components/schemas/Room"
description: Reperesents receipt for the payment
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Reservation'
$ref: "#/components/schemas/Reservation"
responses:
"202":
description: Accepted
Expand Down Expand Up @@ -52,7 +52,7 @@ components:
type: array
description: Rooms to be reserved
items:
$ref: '#/components/schemas/ReserveRoom'
$ref: "#/components/schemas/ReserveRoom"
startDate:
type: string
description: Start date in yyyy-mm-dd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ReservationReceipt'
$ref: "#/components/schemas/ReservationReceipt"
responses:
"202":
description: Accepted
Expand Down Expand Up @@ -52,13 +52,13 @@ components:
links:
type: array
items:
$ref: '#/components/schemas/Link'
$ref: "#/components/schemas/Link"
linkid:
type: integer
format: int64
ReservationReceipt:
allOf:
- $ref: '#/components/schemas/Links'
- $ref: "#/components/schemas/Links"
- required:
- id
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/Product'
$ref: "#/components/schemas/Product"
components:
schemas:
Price:
Expand Down Expand Up @@ -55,5 +55,5 @@ components:
description:
type: string
price:
$ref: '#/components/schemas/Price'
$ref: "#/components/schemas/Price"
description: Represents a product
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Pet'
$ref: "#/components/schemas/Pet"
"500":
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorPayload'
$ref: "#/components/schemas/ErrorPayload"
components:
schemas:
ErrorPayload:
Expand Down Expand Up @@ -85,14 +85,14 @@ components:
name:
type: string
category:
$ref: '#/components/schemas/Category'
$ref: "#/components/schemas/Category"
photoUrls:
type: array
items:
type: string
tags:
type: array
items:
$ref: '#/components/schemas/Tag'
$ref: "#/components/schemas/Tag"
status:
type: string
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorPayload'
$ref: "#/components/schemas/ErrorPayload"
components:
schemas:
ErrorPayload:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/BalSubTypes'
$ref: "#/components/schemas/BalSubTypes"
/path2:
get:
operationId: getPath2
Expand All @@ -30,17 +30,17 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/Unsigned8'
- $ref: '#/components/schemas/Unsigned16'
- $ref: '#/components/schemas/Unsigned32'
- $ref: '#/components/schemas/Signed8'
- $ref: '#/components/schemas/Signed16'
- $ref: '#/components/schemas/Signed32'
- $ref: '#/components/schemas/XmlElement'
- $ref: '#/components/schemas/XmlComment'
- $ref: '#/components/schemas/XmlText'
- $ref: '#/components/schemas/XmlProcessingInstruction'
- $ref: '#/components/schemas/Char'
- $ref: "#/components/schemas/Unsigned8"
- $ref: "#/components/schemas/Unsigned16"
- $ref: "#/components/schemas/Unsigned32"
- $ref: "#/components/schemas/Signed8"
- $ref: "#/components/schemas/Signed16"
- $ref: "#/components/schemas/Signed32"
- $ref: "#/components/schemas/XmlElement"
- $ref: "#/components/schemas/XmlComment"
- $ref: "#/components/schemas/XmlText"
- $ref: "#/components/schemas/XmlProcessingInstruction"
- $ref: "#/components/schemas/Char"
components:
schemas:
BalInts:
Expand All @@ -50,9 +50,9 @@ components:
type: object
properties:
signed:
$ref: '#/components/schemas/BalSignedInts'
$ref: "#/components/schemas/BalSignedInts"
unsigned:
$ref: '#/components/schemas/BalUnsignedInts'
$ref: "#/components/schemas/BalUnsignedInts"
Signed32:
type: integer
format: int32
Expand All @@ -68,9 +68,9 @@ components:
char:
type: string
ints:
$ref: '#/components/schemas/BalInts'
$ref: "#/components/schemas/BalInts"
xmls:
$ref: '#/components/schemas/BalXmls'
$ref: "#/components/schemas/BalXmls"
Unsigned8:
type: integer
Signed16:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Link'
$ref: "#/components/schemas/Link"
responses:
"202":
description: Accepted
Expand All @@ -32,7 +32,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Order'
$ref: "#/components/schemas/Order"
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Link'
$ref: "#/components/schemas/Link"
responses:
"202":
description: Accepted
Expand Down
Loading

0 comments on commit cd04b60

Please sign in to comment.