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

Fix TranscodeReasons type in OpenAPI output #8611

Merged
merged 1 commit into from Oct 22, 2022

Conversation

nielsvanvelzen
Copy link
Member

Changes

  • Change TranscodingInfo.TranscodeReasons to an array instead of string
  • Move enum definition for TranscodeReasons to it's own schema

Issues

Fixes #8514

@github-actions
Copy link

Changes in OpenAPI specification found. Expand to see details.

What's Changed


GET /Sessions
Return Type:

Changed response : 200 OK

List of sessions returned.

  • Changed content type : application/json

Changed items (object):

Class SessionInfo.

openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

  • Changed content type : application/json; profile="CamelCase"

Changed items (object):

Class SessionInfo.

openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

  • Changed content type : application/json; profile="PascalCase"

Changed items (object):

Class SessionInfo.

openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

POST /Users/{userId}/Authenticate
Return Type:

Changed response : 200 OK

User authenticated.

  • Changed content type : application/json

openapi-base openapi-changes.md openapi-head Changed property SessionInfo (object)

Class SessionInfo.

Updated SessionInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

  • Changed content type : application/json; profile="CamelCase"

openapi-base openapi-changes.md openapi-head Changed property SessionInfo (object)

Class SessionInfo.

Updated SessionInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

  • Changed content type : application/json; profile="PascalCase"

openapi-base openapi-changes.md openapi-head Changed property SessionInfo (object)

Class SessionInfo.

Updated SessionInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

POST /Users/AuthenticateByName
Return Type:

Changed response : 200 OK

User authenticated.

  • Changed content type : application/json

openapi-base openapi-changes.md openapi-head Changed property SessionInfo (object)

Class SessionInfo.

Updated SessionInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

  • Changed content type : application/json; profile="CamelCase"

openapi-base openapi-changes.md openapi-head Changed property SessionInfo (object)

Class SessionInfo.

Updated SessionInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

  • Changed content type : application/json; profile="PascalCase"

openapi-base openapi-changes.md openapi-head Changed property SessionInfo (object)

Class SessionInfo.

Updated SessionInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

POST /Users/AuthenticateWithQuickConnect
Return Type:

Changed response : 200 OK

User authenticated.

  • Changed content type : application/json

openapi-base openapi-changes.md openapi-head Changed property SessionInfo (object)

Class SessionInfo.

Updated SessionInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

  • Changed content type : application/json; profile="CamelCase"

openapi-base openapi-changes.md openapi-head Changed property SessionInfo (object)

Class SessionInfo.

Updated SessionInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

  • Changed content type : application/json; profile="PascalCase"

openapi-base openapi-changes.md openapi-head Changed property SessionInfo (object)

Class SessionInfo.

Updated SessionInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodingInfo (object)

Updated TranscodingInfo :
openapi-base openapi-changes.md openapi-head Changed property TranscodeReasons (string -> array)

@nielsvanvelzen nielsvanvelzen added the stable backport Backport into the next stable release label Oct 22, 2022
@cvium cvium merged commit c86d583 into jellyfin:release-10.8.z Oct 22, 2022
@nielsvanvelzen nielsvanvelzen deleted the transcodereasons branch October 22, 2022 12:22
jellyfin-bot pushed a commit that referenced this pull request Oct 29, 2022
Fix TranscodeReasons type in OpenAPI output

Original-merge: c86d583

Merged-by: Claus Vium <cvium@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Oct 29, 2022
@nielsvanvelzen nielsvanvelzen added the bug Something isn't working label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants