Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency drf-spectacular to >=0.22.1,<0.27 (main) #2423

Merged
merged 2 commits into from
Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion api/libretime_api/settings/_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ def setup_logger(log_filepath: Optional[str]):
# https://drf-spectacular.readthedocs.io/en/latest/settings.html

SPECTACULAR_ENUM_NAME_OVERRIDES = {
"SmartBlockKindEnum": "libretime_api.schedule.models.SmartBlock.Kind",
"FileImportStatusEnum": "libretime_api.storage.models.File.ImportStatus",
"PlaylistContentKindEnum": "libretime_api.schedule.models.PlaylistContent.Kind",
"SmartBlockKindEnum": "libretime_api.schedule.models.SmartBlock.Kind",
}

SPECTACULAR_SETTINGS = {
Expand Down
2 changes: 1 addition & 1 deletion api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
django-filter>=2.4.0,<22.2
django>=4.1.4,<4.2
djangorestframework>=3.12.1,<3.15
drf-spectacular>=0.22.1,<0.26
drf-spectacular>=0.22.1,<0.27
psycopg2>=2.8.6,<2.10
requests>=2.25.1,<2.29
34 changes: 34 additions & 0 deletions api/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6855,6 +6855,10 @@ components:
- 1
- 2
type: integer
description: |-
* `0` - Success
* `1` - Pending
* `2` - Failed
PlayoutHistory:
type: object
properties:
Expand Down Expand Up @@ -7046,6 +7050,11 @@ components:
- 1
- 2
type: integer
description: |-
* `-1` - Filler
* `0` - Outside
* `1` - Inside
* `2` - Boundary
Preference:
type: object
properties:
Expand All @@ -7071,6 +7080,9 @@ components:
- 0
- 1
type: integer
description: |-
* `0` - No
* `1` - Yes
RepeatKindEnum:
enum:
- 0
Expand All @@ -7079,13 +7091,24 @@ components:
- 5
- 2
type: integer
description: |-
* `0` - Every week
* `1` - Every 2 weeks
* `4` - Every 3 weeks
* `5` - Every 4 weeks
* `2` - Every month
RoleEnum:
enum:
- G
- H
- P
- A
type: string
description: |-
* `G` - Guest
* `H` - Host
* `P` - Manager
* `A` - Admin
Schedule:
type: object
properties:
Expand Down Expand Up @@ -7474,6 +7497,9 @@ components:
- static
- dynamic
type: string
description: |-
* `static` - Static
* `dynamic` - Dynamic
StationPodcast:
type: object
properties:
Expand Down Expand Up @@ -7719,6 +7745,14 @@ components:
- 5
- 6
type: integer
description: |-
* `0` - Monday
* `1` - Tuesday
* `2` - Wednesday
* `3` - Thursday
* `4` - Friday
* `5` - Saturday
* `6` - Sunday
securitySchemes:
basicAuth:
type: http
Expand Down
2 changes: 1 addition & 1 deletion api/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"django-filter>=2.4.0,<22.2",
"django>=4.1.4,<4.2",
"djangorestframework>=3.12.1,<3.15",
"drf-spectacular>=0.22.1,<0.26",
"drf-spectacular>=0.22.1,<0.27",
"requests>=2.25.1,<2.29",
],
extras_require={
Expand Down