Skip to content

Commit

Permalink
Fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Dec 21, 2023
1 parent 43492c3 commit 6ffdde5
Show file tree
Hide file tree
Showing 77 changed files with 421 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,40 @@ paths:
requestBody:
content:
application/json:
schema: {}
schema:
type: object
required: true
responses:
"202":
description: Accepted
"400":
description: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorPayload'
components:
schemas:
ErrorPayload:
required:
- message
- method
- path
- reason
- status
- timestamp
type: object
properties:
timestamp:
type: string
status:
type: integer
format: int64
reason:
type: string
message:
type: string
path:
type: string
method:
type: string
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,40 @@ paths:
requestBody:
content:
application/json:
schema: {}
schema:
type: object
required: true
responses:
"202":
description: Accepted
"400":
description: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorPayload'
components:
schemas:
ErrorPayload:
required:
- message
- method
- path
- reason
- status
- timestamp
type: object
properties:
timestamp:
type: string
status:
type: integer
format: int64
reason:
type: string
message:
type: string
path:
type: string
method:
type: string
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,40 @@ paths:
requestBody:
content:
application/json:
schema: {}
schema:
type: object
required: true
responses:
"202":
description: Accepted
"400":
description: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorPayload'
components:
schemas:
ErrorPayload:
required:
- message
- method
- path
- reason
- status
- timestamp
type: object
properties:
timestamp:
type: string
status:
type: integer
format: int64
reason:
type: string
message:
type: string
path:
type: string
method:
type: string
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Reservation'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Reservation'
required: true
responses:
"200":
description: Ok
Expand Down Expand Up @@ -97,6 +98,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Reservation'
required: true
responses:
"201":
description: Created
Expand Down Expand Up @@ -133,6 +135,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Payment'
required: true
responses:
"201":
description: Created
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Reservation'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ReservationReceipt'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/StudentRecord'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/RegDate'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Emp'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Person'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Person'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/School'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/School'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/School'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Hotel'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Hotel'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Hotel'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Child'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Child'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Child'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Person'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Person'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/StudentRecord'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/StudentRecord'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Link'
required: true
responses:
"202":
description: Accepted
Expand All @@ -37,6 +38,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Order'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Link'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Link'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Link'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Pet'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Link'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Pet-Task'
required: true
responses:
"202":
description: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Offset'
required: true
responses:
"201":
description: Created
Expand Down
Loading

0 comments on commit 6ffdde5

Please sign in to comment.