jellyfin / jellyfin-plugin-kodisyncqueue

https://jellyfin.org
GNU General Public License v2.0
44 stars 13 forks source link

OpenAPI issues #80

Closed nielsvanvelzen closed 7 months ago

nielsvanvelzen commented 1 year ago

Found some issues in the generated OpenAPI for this plugin when I initially tested https://github.com/jellyfin/jellyfin/pull/9682. Nothing major.

[main] WARN org.jellyfin.openapi.Generator - paths.'/Jellyfin.Plugin.KodiSyncQueue/{userID}/GetItems'. Declared path parameter userID needs to be defined as a path parameter in path or operation level
[main] WARN org.jellyfin.openapi.Generator - attribute paths.'/Kodi/{type}/{parentId}/{id}/file.strm'(get).operationId is repeated
[main] WARN org.jellyfin.openapi.Generator - attribute paths.'/Kodi/{type}/{parentId}/{season}/{id}/file.strm'(get).operationId is repeated
[main] WARN org.jellyfin.openapi.builder.openapi.OpenApiApiServicesBuilder - Path parameter parentId in getStrmFile is missing in path /Kodi/{type}/{id}/file.strm
[main] WARN org.jellyfin.openapi.builder.openapi.OpenApiApiServicesBuilder - Path parameter season in getStrmFile is missing in path /Kodi/{type}/{id}/file.strm
[main] WARN org.jellyfin.openapi.builder.openapi.OpenApiApiServicesBuilder - Path parameter season in getStrmFile is missing in path /Kodi/{type}/{parentId}/{id}/file.strm

The first one is likely because the path template and function parameter have different casing.