Skip to content

Set EXTERNAL_DOCS setting for OpenAPI spec #2446

Set EXTERNAL_DOCS setting for OpenAPI spec

Set EXTERNAL_DOCS setting for OpenAPI spec #2446

Triggered via pull request January 13, 2025 17:50
Status Success
Total duration 4m 27s
Artifacts

api.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 20 warnings
API Lint
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/pip/_internal/metadata/importlib/_dists.py:77: DeprecationWarning: Unimplemented abstract methods {'locate_file'} return cls(files, info_location)
API Lint: weblate/api/views.py#L2270
[Search]: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Either way you may want to add a serializer_class (or method). Ignoring view for now.
API Lint: weblate/api/views.py#L2326
[TasksViewSet]: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Either way you may want to add a serializer_class (or method). Ignoring view for now.
tag-description: weblate-openapi.yaml#L10468
Tag object should contain `description` field.
tag-description: weblate-openapi.yaml#L10469
Tag object should contain `description` field.
tag-description: weblate-openapi.yaml#L10470
Tag object should contain `description` field.
tag-description: weblate-openapi.yaml#L10471
Tag object should contain `description` field.
tag-description: weblate-openapi.yaml#L10472
Tag object should contain `description` field.
tag-description: weblate-openapi.yaml#L10479
Tag object should contain `description` field.
tag-description: weblate-openapi.yaml#L10480
Tag object should contain `description` field.
tag-description: weblate-openapi.yaml#L10492
Tag object should contain `description` field.
tag-description: weblate-openapi.yaml#L10495
Tag object should contain `description` field.
operation-summary: weblate-openapi.yaml#L15
Operation object should contain `summary` field.
API Lint: weblate/api/views.py#L2386
[AddonViewSet]: Encountered 2 components with identical names "tokenAuth" and different identities <class 'weblate.api.authentication.BearerAuthentication'> and <class 'rest_framework.authentication.TokenAuthentication'>. This will very likely result in an incorrect schema. Try renaming one.
API Lint: weblate/api/views.py#L2191
[CategoryViewSet]: Encountered 2 components with identical names "tokenAuth" and different identities <class 'weblate.api.authentication.BearerAuthentication'> and <class 'rest_framework.authentication.TokenAuthentication'>. This will very likely result in an incorrect schema. Try renaming one.
API Lint: weblate/api/views.py#L2073
[ChangeViewSet]: Encountered 2 components with identical names "tokenAuth" and different identities <class 'weblate.api.authentication.BearerAuthentication'> and <class 'rest_framework.authentication.TokenAuthentication'>. This will very likely result in an incorrect schema. Try renaming one.
API Lint: weblate/api/views.py#L2094
[ComponentListViewSet]: Encountered 2 components with identical names "tokenAuth" and different identities <class 'weblate.api.authentication.BearerAuthentication'> and <class 'rest_framework.authentication.TokenAuthentication'>. This will very likely result in an incorrect schema. Try renaming one.
API Lint: weblate/api/views.py#L2094
[ComponentListViewSet]: could not derive type of path parameter "component_slug" because model "weblate.trans.models.componentlist.ComponentList" contained no such field. Consider annotating parameter with @extend_schema. Defaulting to "string".
API Lint: weblate/api/views.py#L1222
[ComponentViewSet]: Encountered 2 components with identical names "tokenAuth" and different identities <class 'weblate.api.authentication.BearerAuthentication'> and <class 'rest_framework.authentication.TokenAuthentication'>. This will very likely result in an incorrect schema. Try renaming one.
API Lint: weblate/api/views.py#L1222
[ComponentViewSet]: could not derive type of path parameter "project_slug" because model "weblate.trans.models.component.Component" contained no such field. Consider annotating parameter with @extend_schema. Defaulting to "string".
API Lint: weblate/api/views.py#L545
[GroupViewSet]: Encountered 2 components with identical names "tokenAuth" and different identities <class 'weblate.api.authentication.BearerAuthentication'> and <class 'rest_framework.authentication.TokenAuthentication'>. This will very likely result in an incorrect schema. Try renaming one.
API Lint: weblate/api/views.py#L545
[GroupViewSet]: could not derive type of path parameter "language_code" because model "weblate.auth.models.Group" contained no such field. Consider annotating parameter with @extend_schema. Defaulting to "string".
API Lint: weblate/api/views.py#L1736
[LanguageViewSet]: Encountered 2 components with identical names "tokenAuth" and different identities <class 'weblate.api.authentication.BearerAuthentication'> and <class 'rest_framework.authentication.TokenAuthentication'>. This will very likely result in an incorrect schema. Try renaming one.