https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17390

Olivier Hubert <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |[email protected]

--- Comment #21 from Olivier Hubert <[email protected]> ---
I tried rebuilding the API definitions by using `yarn api:bundle`, but the
command fails with several errors like the following:

[48] api/v1/swagger/paths/authorised_values.yaml:298:11 at
#/~1authorised_value_categories~1{authorised_value_category_name}~1authorised_values/get/responses/503/schema

Can't resolve $ref

296 |     description: Under maintenance
297 |     schema:
298 |       $ref: "../swagger.yaml#/definitions.json/definitions/error"
299 | x-koha-authorization:
300 |   permissions:

Error was generated by the bundler rule.


As far as I can tell, this is because the definitions.json file was replaced by
swagger.yaml and the references in api/v1/swagger/paths/authorised_values.yaml
still point to that deleted file. I tried to manually fix it, but I am not
familiar enough with Swagger YAML syntax and could not find the actual
resolution. All I can do for now is point at the most likely culprit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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/

Reply via email to