https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28848
Bug ID: 28848
Summary: OpenAPI version should be a string
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
As mentioned explicitly in the OpenAPI 2.0 spec, the 'swagger' attribute needs
to be a 'string':
"""
Required. Specifies the Swagger Specification version being used. It can be
used by the Swagger UI and other clients to interpret the API listing. The
value MUST be "2.0".
"""
Out stack doesn't take that into account, but some validator will take our
spec as having a number instead.
A fix should be backported to all stable releases so we can use newer versions
of redoc for the API docs.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/