Skip to content

Commit

Permalink
update overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Jul 26, 2024
1 parent 90b71fa commit f0b6fbf
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fern/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ groups:
# token: ${NPM_TOKEN}
github:
repository: "chariot-giving/typescript-sdk"
# mode: push
# branch: main
mode: pull-request
config:
namespaceExport: Chariot
Expand Down
45 changes: 45 additions & 0 deletions fern/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,48 @@ paths:
x-fern-sdk-group-name:
- eventSubscriptions
x-fern-sdk-method-name: update
/oauth/token:
post:
summary: Request an access token
description: Obtain an access token using client credentials
x-fern-sdk-group-name:
- auth
x-fern-sdk-method-name: getToken
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
client_id:
type: string
description: The client ID of the application
client_secret:
type: string
description: The client secret of the application
audience:
description: The API identifier
x-fern-type: literal<"https://api.givechariot.com">
grant_type:
x-fern-type: literal<"client_credentials">
required:
- client_id
- client_secret
- audience
- grant_type
responses:
'200':
description: Successful response
content:
application/json:
schema:
x-fern-type-name: GetTokenResponse
type: object
properties:
access_token:
type: string
token_type:
type: string
expires_in:
type: integer

0 comments on commit f0b6fbf

Please sign in to comment.