Skip to content

Commit

Permalink
Merge pull request #41 from seamapi/fix-security-schemes
Browse files Browse the repository at this point in the history
Fix security schemes
  • Loading branch information
rchodava committed Apr 17, 2024
2 parents 75c7652 + 7f3ed74 commit 1302c50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 45 deletions.
9 changes: 4 additions & 5 deletions fern/.definition/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ environments:
Default: https://connect.getseam.com
default-environment: Default
auth-schemes:
seam_workspace:
header: seam-workspace
name: apiKey
type: string
BearerAuthScheme:
scheme: bearer
token:
name: apiKey
auth: seam_workspace
auth: BearerAuthScheme
headers:
seam-workspace:
type: string
name: seamWorkspace
seam-client-session-token:
type: string
name: seamClientSessionToken
Expand Down
45 changes: 5 additions & 40 deletions fern/openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -12664,6 +12664,11 @@
},
"components": {
"securitySchemes": {
"api_key": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "API Key"
},
"seam_workspace": {
"type": "apiKey",
"in": "header",
Expand All @@ -12678,46 +12683,6 @@
"type": "apiKey",
"in": "header",
"name": "client-session-token"
},
"access_token": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "API Token"
},
"pat_with_workspace": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "API Token"
},
"pat_without_workspace": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "API Token"
},
"client_session": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "Client Session Token"
},
"user_session": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "User Session Token"
},
"user_session_without_workspace": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "User Session Token"
},
"console_session": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "Console Session Token"
},
"api_key": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "API Key"
}
},
"schemas": {
Expand Down

0 comments on commit 1302c50

Please sign in to comment.