Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Sporiff authored and georgkrause committed May 25, 2023
1 parent 80f7017 commit 20e5826
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions specs/openpodcast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ paths:
$ref: '#/components/schemas/Subscriptions'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/ValidationException'
security:
- podcast_auth:
- read:subscriptions
Expand All @@ -77,8 +73,6 @@ paths:
$ref: '#/components/schemas/NewSubscriptions'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/ValidationException'
security:
Expand Down Expand Up @@ -374,6 +368,9 @@ components:
guid_changed:
type: string
format: date-time
deleted:
type: string
format: date-time
example:
feed_url: https://example.com/feed2
guid: 968cb508-803c-493c-8ff2-9e397dadb83c
Expand Down Expand Up @@ -417,7 +414,6 @@ components:
- total
- page
- per_page
- has_next
- subscriptions
xml:
name: subscriptions
Expand All @@ -429,10 +425,12 @@ components:
type: number
per_page:
type: number
has_next:
type: boolean
has_prev:
type: boolean
next:
type: string
format: url
previous:
type: string
format: url
subscriptions:
type: array
items:
Expand All @@ -441,7 +439,6 @@ components:
total: 2
page: 1
per_page: 5
has_next: false
subscriptions:
- feed_url: https://example.com/rss1
guid: 31740ac6-e39d-49cd-9179-634bcecf4143
Expand All @@ -452,6 +449,7 @@ components:
guid: 968cb508-803c-493c-8ff2-9e397dadb83c
is_subscribed: false
subscription_changed: 2022-04-24T17:53:21.573Z
deleted: 2022-04-24T17:53:21.573Z
NewSubscriptions:
xml:
name: subscriptions
Expand Down

0 comments on commit 20e5826

Please sign in to comment.