Skip to content

Commit

Permalink
Auto generate API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
snarayanank2 committed Aug 13, 2024
1 parent f1bd4bd commit db7263f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
10 changes: 4 additions & 6 deletions reference/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1748,16 +1748,14 @@ components:
description: |
Full name of the delegatee.
start_at:
type: string
format: date-time
example: '2020-06-11T13:14:55.201598+00:00'
allOf:
- $ref: '#/components/schemas/timestamptz_utc'
description: |
Date and time from which the delegation is active.
nullable: false
end_at:
type: string
format: date-time
example: '2020-07-11T13:14:55.201598+00:00'
allOf:
- $ref: '#/components/schemas/timestamptz_utc'
description: |
Date and time till which the delegation is active. If null, delegation is active indefinitely.
nullable: true
Expand Down
20 changes: 8 additions & 12 deletions reference/spender.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5919,16 +5919,14 @@ components:
description: |
Full name of the delegatee.
start_at:
type: string
format: date-time
example: '2020-06-11T13:14:55.201598+00:00'
allOf:
- $ref: '#/components/schemas/timestamptz_utc'
description: |
Date and time from which the delegation is active.
nullable: false
end_at:
type: string
format: date-time
example: '2020-07-11T13:14:55.201598+00:00'
allOf:
- $ref: '#/components/schemas/timestamptz_utc'
description: |
Date and time till which the delegation is active. If null, delegation is active indefinitely.
nullable: true
Expand Down Expand Up @@ -6103,16 +6101,14 @@ components:
delegatee_user_id:
$ref: '#/components/schemas/fk_string'
start_at:
type: string
format: date-time
example: '2020-06-11T13:14:55.201598+00:00'
allOf:
- $ref: '#/components/schemas/timestamptz_utc'
description: |
Date and time from which the delegation is active.
nullable: false
end_at:
type: string
format: date-time
example: '2020-07-11T13:14:55.201598+00:00'
allOf:
- $ref: '#/components/schemas/timestamptz_utc'
description: |
Date and time till which the delegation is active. If null, delegation is active indefinitely.
nullable: true
Expand Down

0 comments on commit db7263f

Please sign in to comment.