[Koha-bugs] [Bug 28848] New: OpenAPI version should be a string
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 12 15:29:55 CEST 2021
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: koha-bugs at lists.koha-community.org
Reporter: tomascohen at gmail.com
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.
More information about the Koha-bugs
mailing list