revert removal of enum, this has been resolved in C# SDK

This commit is contained in:
JasonLandbridge
2024-09-27 18:28:51 +02:00
parent 43c5386969
commit cf52ea291f
2 changed files with 6 additions and 2 deletions

View File

@@ -101,10 +101,12 @@ properties:
- IPv6
properties:
protocol:
# TODO - This should be an enum but there is a bug in the generator
description: The protocol used for the connection (http, https, etc)
example: "http"
type: string
enum:
- http
- https
address:
description: The (ip) address or domain name used for the connection
type: string

View File

@@ -232,10 +232,12 @@ properties:
description: If you are subscribed to the Plex newsletter
default: false
mailingListStatus:
# TODO - This should be an enum but there is a bug in the generator
description: Your current mailing list status (active or unsubscribed)
type: string
example: subscribed
enum:
- active
- unsubscribed
maxHomeSize:
type: integer
description: The maximum number of accounts allowed in the Plex Home