Swapped enum numbers to ints

This commit is contained in:
Luke Hagar
2023-11-16 10:57:22 -06:00
parent 174f2e8c79
commit 00b3343fc5
11 changed files with 15 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ get:
description: Include Https entries in the results description: Include Https entries in the results
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1
@@ -17,7 +17,7 @@ get:
description: Include Relay addresses in the results description: Include Relay addresses in the results
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1
@@ -25,7 +25,7 @@ get:
description: Include IPv6 entries in the results description: Include IPv6 entries in the results
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -19,7 +19,7 @@ get:
description: type of playlists to return (default is all). description: type of playlists to return (default is all).
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -22,7 +22,7 @@ get:
description: Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). description: Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -15,7 +15,7 @@ get:
description: Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). description: Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -37,7 +37,7 @@ get:
Only exists for backwards compatibility, media providers other than the server libraries have it on always. Only exists for backwards compatibility, media providers other than the server libraries have it on always.
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -16,7 +16,7 @@ get:
4: Verbose 4: Verbose
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -43,7 +43,7 @@ get:
description: images are always scaled proportionally. A value of '1' in minSize will make the smaller native dimension the dimension resized against. description: images are always scaled proportionally. A value of '1' in minSize will make the smaller native dimension the dimension resized against.
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1
@@ -52,7 +52,7 @@ get:
description: allow images to be resized beyond native dimensions. description: allow images to be resized beyond native dimensions.
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -25,7 +25,7 @@ post:
The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -28,7 +28,7 @@ post:
description: whether the playlist is smart or not description: whether the playlist is smart or not
in: query in: query
schema: schema:
type: number type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -11,6 +11,7 @@ put:
required: false required: false
in: query in: query
schema: schema:
type: integer
enum: enum:
- 0 - 0
- 1 - 1
@@ -20,6 +21,7 @@ put:
required: false required: false
in: query in: query
schema: schema:
type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -10,6 +10,7 @@ put:
required: false required: false
in: query in: query
schema: schema:
type: integer
enum: enum:
- 0 - 0
- 1 - 1