Skip to content

feat(openapi): add missing schedules get endpoint to api spec #300

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -3419,6 +3419,7 @@ components:
required:
- id
- connectorID
- provider
- reference
- createdAt
- type
@@ -3428,6 +3429,8 @@ components:
type: string
connectorID:
type: string
provider:
type: string
reference:
type: string
createdAt:
37 changes: 32 additions & 5 deletions openapi/v3/v3-api.yaml
Original file line number Diff line number Diff line change
@@ -17,13 +17,13 @@ paths:
description: OK
content:
application/json:
schema:
schema:
$ref: '#/components/schemas/V3ConfigInfoResponse'
default:
description: Error
content:
application/json:
schema:
schema:
$ref: '#/components/schemas/V3ErrorResponse'
security:
- Authorization:
@@ -393,7 +393,7 @@ paths:
security:
- Authorization:
- payments:write

/v3/connectors/{connectorID}/config:
get:
tags:
@@ -475,6 +475,33 @@ paths:
- Authorization:
- payments:read

/v3/connectors/{connectorID}/schedules/{scheduleID}:
get:
tags:
- payments.v3
summary: Get a connector schedule by ID
operationId: v3GetConnectorSchedule
x-speakeasy-name-override: GetConnectorSchedule
parameters:
- $ref: '#/components/parameters/V3ConnectorID'
- $ref: '#/components/parameters/V3ScheduleID'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/V3ConnectorScheduleResponse'
default:
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/V3ErrorResponse'
security:
- Authorization:
- payments:read

/v3/connectors/{connectorID}/schedules/{scheduleID}/instances:
get:
tags:
@@ -726,7 +753,7 @@ paths:
security:
- Authorization:
- payments:read

/v3/payment-initiations/{paymentInitiationID}/retry:
post:
tags:
@@ -1091,4 +1118,4 @@ paths:
security:
- Authorization:
- payments:read

16 changes: 12 additions & 4 deletions openapi/v3/v3-schemas.yaml
Original file line number Diff line number Diff line change
@@ -288,7 +288,7 @@ components:
properties:
data:
$ref: "#/components/schemas/V3BankAccount"

V3BankAccount:
type: object
required:
@@ -471,6 +471,14 @@ components:
items:
$ref: "#/components/schemas/V3Schedule"

V3ConnectorScheduleResponse:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/V3Schedule'

V3ConnectorScheduleInstancesCursorResponse:
type: object
required:
@@ -613,7 +621,7 @@ components:
type: array
items:
$ref: "#/components/schemas/V3CreatePaymentAdjustmentRequest"

V3CreatePaymentAdjustmentRequest:
type: object
required:
@@ -1195,7 +1203,7 @@ components:
properties:
data:
$ref: "#/components/schemas/V3PoolBalances"

V3Pool:
type: object
required:
@@ -1307,4 +1315,4 @@ components:
- MISSING_OR_INVALID_BODY
- CONFLICT
- NOT_FOUND
example: VALIDATION
example: VALIDATION