Skip to content

Commit

Permalink
docs(openapi): auth return grantId for grant lookup via interaction id
Browse files Browse the repository at this point in the history
  • Loading branch information
golobitch committed Aug 6, 2024
1 parent 3a4bcf4 commit 87d9fe0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/auth/src/interaction/routes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ describe('Interaction Routes', (): void => {
describe('IDP - Grant details', (): void => {
let grant: Grant
let access: Access
let interaction: Interaction;
let interaction: Interaction

beforeAll(async (): Promise<void> => {
grant = await Grant.query().insert({
Expand Down
3 changes: 3 additions & 0 deletions packages/auth/src/openapi/specs/id-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ paths:
- PENDING
- APPROVED
- DENIED
grantId:
description: Id of a grant
type: string
'401':
description: Unauthorized
'404':
Expand Down

0 comments on commit 87d9fe0

Please sign in to comment.