Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Aug 2, 2024
1 parent fe5daca commit b68f063
Show file tree
Hide file tree
Showing 6 changed files with 369 additions and 0 deletions.
75 changes: 75 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -63644,6 +63644,13 @@
],
"x-resourceId": "tax.calculation",
"x-stripeOperations": [
{
"method_name": "retrieve",
"method_on": "service",
"method_type": "retrieve",
"operation": "get",
"path": "/v1/tax/calculations/{calculation}"
},
{
"method_name": "list_line_items",
"method_on": "service",
Expand Down Expand Up @@ -190010,6 +190017,74 @@
}
}
},
"/v1/tax/calculations/{calculation}": {
"get": {
"description": "<p>Retrieves a Tax <code>Calculation</code> object, if the calculation hasn’t expired.</p>",
"operationId": "GetTaxCalculationsCalculation",
"parameters": [
{
"in": "path",
"name": "calculation",
"required": true,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "simple"
},
{
"description": "Specifies which fields in the response should be expanded.",
"explode": true,
"in": "query",
"name": "expand",
"required": false,
"schema": {
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"style": "deepObject"
}
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"encoding": {},
"schema": {
"additionalProperties": false,
"properties": {},
"type": "object"
}
}
},
"required": false
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/tax.calculation"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
}
}
},
"/v1/tax/calculations/{calculation}/line_items": {
"get": {
"description": "<p>Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.</p>",
Expand Down
52 changes: 52 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58292,6 +58292,11 @@ components:
- tax_breakdown
x-resourceId: tax.calculation
x-stripeOperations:
- method_name: retrieve
method_on: service
method_type: retrieve
operation: get
path: '/v1/tax/calculations/{calculation}'
- method_name: list_line_items
method_on: service
method_type: custom
Expand Down Expand Up @@ -182288,6 +182293,53 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: Error response.
'/v1/tax/calculations/{calculation}':
get:
description: >-
<p>Retrieves a Tax <code>Calculation</code> object, if the calculation
hasn’t expired.</p>
operationId: GetTaxCalculationsCalculation
parameters:
- in: path
name: calculation
required: true
schema:
maxLength: 5000
type: string
style: simple
- description: Specifies which fields in the response should be expanded.
explode: true
in: query
name: expand
required: false
schema:
items:
maxLength: 5000
type: string
type: array
style: deepObject
requestBody:
content:
application/x-www-form-urlencoded:
encoding: {}
schema:
additionalProperties: false
properties: {}
type: object
required: false
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/tax.calculation'
description: Successful response.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/error'
description: Error response.
'/v1/tax/calculations/{calculation}/line_items':
get:
description: >-
Expand Down
68 changes: 68 additions & 0 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -143562,6 +143562,74 @@
}
}
},
"/v1/tax/calculations/{calculation}": {
"get": {
"description": "<p>Retrieves a Tax <code>Calculation</code> object, if the calculation hasn’t expired.</p>",
"operationId": "GetTaxCalculationsCalculation",
"parameters": [
{
"in": "path",
"name": "calculation",
"required": true,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "simple"
},
{
"description": "Specifies which fields in the response should be expanded.",
"explode": true,
"in": "query",
"name": "expand",
"required": false,
"schema": {
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"style": "deepObject"
}
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"encoding": {},
"schema": {
"additionalProperties": false,
"properties": {},
"type": "object"
}
}
},
"required": false
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/tax.calculation"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
}
}
},
"/v1/tax/calculations/{calculation}/line_items": {
"get": {
"description": "<p>Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.</p>",
Expand Down
75 changes: 75 additions & 0 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -53959,6 +53959,13 @@
],
"x-resourceId": "tax.calculation",
"x-stripeOperations": [
{
"method_name": "retrieve",
"method_on": "service",
"method_type": "retrieve",
"operation": "get",
"path": "/v1/tax/calculations/{calculation}"
},
{
"method_name": "list_line_items",
"method_on": "service",
Expand Down Expand Up @@ -151802,6 +151809,74 @@
}
}
},
"/v1/tax/calculations/{calculation}": {
"get": {
"description": "<p>Retrieves a Tax <code>Calculation</code> object, if the calculation hasn’t expired.</p>",
"operationId": "GetTaxCalculationsCalculation",
"parameters": [
{
"in": "path",
"name": "calculation",
"required": true,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "simple"
},
{
"description": "Specifies which fields in the response should be expanded.",
"explode": true,
"in": "query",
"name": "expand",
"required": false,
"schema": {
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"style": "deepObject"
}
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"encoding": {},
"schema": {
"additionalProperties": false,
"properties": {},
"type": "object"
}
}
},
"required": false
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/tax.calculation"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
}
}
},
"/v1/tax/calculations/{calculation}/line_items": {
"get": {
"description": "<p>Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.</p>",
Expand Down
52 changes: 52 additions & 0 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49695,6 +49695,11 @@ components:
- tax_breakdown
x-resourceId: tax.calculation
x-stripeOperations:
- method_name: retrieve
method_on: service
method_type: retrieve
operation: get
path: '/v1/tax/calculations/{calculation}'
- method_name: list_line_items
method_on: service
method_type: custom
Expand Down Expand Up @@ -145761,6 +145766,53 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: Error response.
'/v1/tax/calculations/{calculation}':
get:
description: >-
<p>Retrieves a Tax <code>Calculation</code> object, if the calculation
hasn’t expired.</p>
operationId: GetTaxCalculationsCalculation
parameters:
- in: path
name: calculation
required: true
schema:
maxLength: 5000
type: string
style: simple
- description: Specifies which fields in the response should be expanded.
explode: true
in: query
name: expand
required: false
schema:
items:
maxLength: 5000
type: string
type: array
style: deepObject
requestBody:
content:
application/x-www-form-urlencoded:
encoding: {}
schema:
additionalProperties: false
properties: {}
type: object
required: false
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/tax.calculation'
description: Successful response.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/error'
description: Error response.
'/v1/tax/calculations/{calculation}/line_items':
get:
description: >-
Expand Down
Loading

0 comments on commit b68f063

Please sign in to comment.