Skip to content

Commit

Permalink
feat(domains): Allow for IPs and localhost domains restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
raphi committed Jan 5, 2024
1 parent 34bbae3 commit 573399c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
name: API Support
email: [email protected]
url: https://api.placekit.co
version: 1.2.0
version: 1.2.1
servers:
- url: https://api.placekit.co
security:
Expand Down Expand Up @@ -559,9 +559,9 @@ paths:
uniqueItems: true
items:
type: string
format: FQDN | IPv4 | IPv6
description: Allow list of domains or IPs from which the requests to the API are allowed.
example: "['dev.domain.com', '82.123.239.43', 'my.domain.io']"
format: FQDN | IPv4 | IPv6 | localhost
description: Allow list of domains or IPs from which the requests to the API are allowed. `localhost` and wildcard subdomains are supported.
example: "['dev.domain.com', '82.123.239.43', '*.domain.io', 'localhost']"
responses:
200:
$ref: '#/components/responses/200.key'
Expand Down Expand Up @@ -618,9 +618,9 @@ paths:
uniqueItems: true
items:
type: string
format: FQDN | IPv4 | IPv6
description: Allow list of domains or IPs from which the requests to the API are allowed.
example: "['dev.domain.com', '82.123.239.43', 'my.domain.io']"
format: FQDN | IPv4 | IPv6 | localhost
description: Allow list of domains or IPs from which the requests to the API are allowed. `localhost` and wildcard subdomains are supported.
example: "['dev.domain.com', '82.123.239.43', '*.domain.io', 'localhost']"
responses:
200:
$ref: '#/components/responses/200.key'
Expand Down Expand Up @@ -878,9 +878,9 @@ components:
uniqueItems: true
items:
type: string
format: FQDN | IPv4 | IPv6
description: Allow list of domains or IPs from which the requests to the API are allowed.
example: "['dev.domain.com', '82.123.239.43', 'my.domain.io']"
format: FQDN | IPv4 | IPv6 | localhost
description: Allow list of domains or IPs from which the requests to the API are allowed. `localhost` and wildcard subdomains are supported.
example: "['dev.domain.com', '82.123.239.43', '*.domain.io', 'localhost']"
createdAt:
type: string
format: timestamp
Expand Down

0 comments on commit 573399c

Please sign in to comment.