Swagger spec issues #709

Closed
opened 2026-02-06 20:01:58 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @josh-burton on GitHub (May 25, 2019).

The current swagger spec has some issues which means API specs aren't defined properly.

For example, the user views API doesn't define the UserId parameter or a response type.

"/emby/emby/Users/{UserId}/Views": {
      "get": {
        "tags": [],
        "operationId": "GetUserViews",
        "consumes": [
          "application/json"
        ],
        "produces": [
          "application/json"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "api_key": []
          }
        ]
      }
    },
Originally created by @josh-burton on GitHub (May 25, 2019). The current swagger spec has some issues which means API specs aren't defined properly. For example, the user views API doesn't define the `UserId` parameter or a response type. ``` "/emby/emby/Users/{UserId}/Views": { "get": { "tags": [], "operationId": "GetUserViews", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [], "responses": { "200": { "description": "OK" } }, "security": [ { "api_key": [] } ] } }, ```
OVERLORD added the wontfix label 2026-02-06 20:01:58 +03:00
Author
Owner

@sparky8251 commented on GitHub (Jun 25, 2019):

We are aware the docs suck. Unfortunately its what we inherited... Given the talks of a major API overhaul before the 11.0.z release, no one wants to really document the existing API.

We all agree the new API should be properly documented with parameters and response data samples. How we get there is uncertain.

Unfortunately, I am marking this "wontfix" and closing it. If someone wants to fix the swagger docs, all power to 'em, but we are just moving towards the new API which will be documented instead.

@sparky8251 commented on GitHub (Jun 25, 2019): We are aware the docs suck. Unfortunately its what we inherited... Given the talks of a major API overhaul before the 11.0.z release, no one wants to really document the existing API. We all agree the new API should be properly documented with parameters and response data samples. How we get there is uncertain. Unfortunately, I am marking this "wontfix" and closing it. If someone wants to fix the swagger docs, all power to 'em, but we are just moving towards the new API which will be documented instead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#709