-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert "Update license to CC-BY-SA-4.0 (#12)" This reverts commit c1a7f90. * fix booking link and remove discriminator * updated the license in openapi.yaml
- Loading branch information
1 parent
c1a7f90
commit 8c2ebe0
Showing
3 changed files
with
41 additions
and
31 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
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
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 |
---|---|---|
|
@@ -8,8 +8,8 @@ info: | |
url: https://example.com/support | ||
email: [email protected] | ||
license: | ||
name: Creative Commons Attribution Share Alike 4.0 International | ||
identifier: CC-BY-SA-4.0 | ||
name: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International | ||
identifier: CC-BY-NC-SA-4.0 | ||
|
||
x-topics: | ||
- title: Getting started | ||
|
@@ -323,6 +323,7 @@ paths: | |
- properties: | ||
links: | ||
$ref: '#/components/schemas/Links-Self' | ||
|
||
example: | ||
id: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e | ||
trip_id: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e | ||
|
@@ -494,7 +495,7 @@ paths: | |
content: | ||
application/json: | ||
schema: | ||
allOf: | ||
allOf: | ||
- $ref: '#/components/schemas/BookingPayment' | ||
- properties: | ||
links: | ||
|
@@ -558,7 +559,7 @@ webhooks: | |
content: | ||
application/json: | ||
schema: | ||
allOf: | ||
allOf: | ||
- $ref: '#/components/schemas/Booking' | ||
- properties: | ||
links: | ||
|
@@ -890,8 +891,6 @@ components: | |
- account_type | ||
- bank_name | ||
- country | ||
discriminator: | ||
propertyName: object | ||
status: | ||
description: The status of the payment, one of `pending`, `succeeded`, or `failed`. | ||
type: string | ||
|
@@ -907,7 +906,7 @@ components: | |
type: string | ||
format: uri | ||
examples: | ||
- https://api.example.com/bookings/123 | ||
- https://api.example.com/bookings/1725ff48-ab45-4bb5-9d02-88745177dedb | ||
headers: | ||
RateLimit: | ||
description: | | ||
|