Skip to content

Commit

Permalink
fix: make get_domains parameters optional
Browse files Browse the repository at this point in the history
  • Loading branch information
tien committed Feb 25, 2025
1 parent ac500d5 commit a162481
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/api/docs/content/specs/domains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ components:
- `/api/domains/exact/abc.com` (allowed and denied exact domains identical to `abc.com`)
- `/api/domains/regex` (allowed and denied regex domains)
- `/api/domains/regex/abc.com` (allowed and denied regex domains identical to `abc.com`)
parameters:
- allOf:
- $ref: '#/components/parameters/type'
- required: false
- allOf:
- $ref: '#/components/parameters/kind'
- required: false
- allOf:
- $ref: '#/components/parameters/domain'
- required: false
responses:
'200':
description: OK
Expand Down

0 comments on commit a162481

Please sign in to comment.