Skip to content

Commit

Permalink
feat: use x-badges feature (#1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamaltman authored Apr 26, 2024
1 parent e5ab67a commit f3df39a
Show file tree
Hide file tree
Showing 61 changed files with 156 additions and 78 deletions.
3 changes: 2 additions & 1 deletion openapi/components/requestBodies/SubscriptionItemUpdate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ required:
- quantityFilled
properties:
quantityFilled:
x-badge: Experimental
x-badges:
- name: Experimental
description: Filled quantity of the subscription item (experimental property).
type: integer
3 changes: 2 additions & 1 deletion openapi/components/schemas/Subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,8 @@ properties:
- 'string'
- 'null'
readOnly: true
x-badge: experimental
x-badges:
- name: Experimental
customFields:
$ref: ./ResourceCustomFields.yaml
createdTime:
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/balance-transactions.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Users
tags: ["Balance transactions"]
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/balance-transactions@{id}.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Users
tags: ["Balance transactions"]
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/customers@{customerId}@summary-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ parameters:
schema:
type: string
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Reports
tags:
Expand Down
6 changes: 4 additions & 2 deletions openapi/paths/deposit-custom-property-sets.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
post:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Create a custom deposit property set
Expand Down Expand Up @@ -37,7 +38,8 @@ post:
get:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Retrieve custom deposit properties sets
Expand Down
9 changes: 6 additions & 3 deletions openapi/paths/deposit-custom-property-sets@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ parameters:
get:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Retrieve a custom deposit property set
Expand All @@ -26,7 +27,8 @@ get:
put:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Upsert a custom deposit property set
Expand Down Expand Up @@ -67,7 +69,8 @@ put:
delete:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Delete a custom deposit property set
Expand Down
6 changes: 4 additions & 2 deletions openapi/paths/deposit-requests.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
post:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Create a deposit request
Expand Down Expand Up @@ -38,7 +39,8 @@ post:
get:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Retrieve deposit requests
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/deposit-requests@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ parameters:
get:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Retrieve a deposit request
Expand Down
6 changes: 4 additions & 2 deletions openapi/paths/deposit-strategies.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
post:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Create a deposit strategy
Expand Down Expand Up @@ -38,7 +39,8 @@ post:
get:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Retrieve deposit strategies
Expand Down
9 changes: 6 additions & 3 deletions openapi/paths/deposit-strategies@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ parameters:
get:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Retrieve a deposit strategy
Expand All @@ -26,7 +27,8 @@ get:
put:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Upsert a deposit strategy
Expand Down Expand Up @@ -67,7 +69,8 @@ put:
delete:
x-products:
- Core
x-badge: Experimental
x-badges:
- name: Experimental
tags:
- Deposits
summary: Delete a deposit strategy
Expand Down
6 changes: 4 additions & 2 deletions openapi/paths/fees.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags: [Fees]
Expand Down Expand Up @@ -36,7 +37,8 @@ get:
'403':
$ref: ../components/responses/Forbidden.yaml
post:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags: [Fees]
Expand Down
12 changes: 8 additions & 4 deletions openapi/paths/fees@{id}.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags: [Fees]
Expand Down Expand Up @@ -33,7 +34,8 @@ get:
'404':
$ref: ../components/responses/NotFound.yaml
put:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags: [Fees]
Expand Down Expand Up @@ -94,7 +96,8 @@ put:
'422':
$ref: ../components/responses/ValidationError.yaml
patch:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags: [Fees]
Expand Down Expand Up @@ -139,7 +142,8 @@ patch:
'422':
$ref: ../components/responses/ValidationError.yaml
delete:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags: [Fees]
Expand Down
6 changes: 4 additions & 2 deletions openapi/paths/gateway-accounts@{id}@financial-settings.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Users
tags:
Expand All @@ -28,7 +29,8 @@ get:
$ref: ../components/responses/NotFound.yaml

put:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Users
tags:
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ servers:
An organization is an entity that represents a company.
For more information, see [Obtain an organization ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id).
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Reports
tags:
Expand Down
6 changes: 4 additions & 2 deletions openapi/paths/quotes.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down Expand Up @@ -35,7 +36,8 @@ get:
'403':
$ref: ../components/responses/Forbidden.yaml
post:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down
9 changes: 6 additions & 3 deletions openapi/paths/quotes@{id}.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down Expand Up @@ -30,7 +31,8 @@ get:
'404':
$ref: ../components/responses/NotFound.yaml
put:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down Expand Up @@ -73,7 +75,8 @@ put:
'422':
$ref: ../components/responses/ValidationError.yaml
patch:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/quotes@{id}@accept.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
post:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/quotes@{id}@cancel.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
post:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/quotes@{id}@issue.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
post:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/quotes@{id}@recall.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
post:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down
3 changes: 2 additions & 1 deletion openapi/paths/quotes@{id}@reject.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
post:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down
6 changes: 4 additions & 2 deletions openapi/paths/quotes@{id}@timeline.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
- $ref: ../components/parameters/resourceId.yaml
get:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down Expand Up @@ -38,7 +39,8 @@ get:
$ref: ../components/responses/Forbidden.yaml

post:
x-badge: Experimental
x-badges:
- name: Experimental
x-products:
- Core
tags:
Expand Down
Loading

0 comments on commit f3df39a

Please sign in to comment.