[Koha-bugs] [Bug 16212] Swagger specification separation and minification

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 11 11:03:45 CEST 2016


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

--- Comment #36 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
Tests: 

swagger.json:

curl -X POST -H "accept:application/json" -d @swagger.json
http://online.swagger.io/validator/debug

{"messages":["attribute definitions.$ref is not of type
`object`"],"schemaValidationMessages":[{"level":"error","domain":"validation","keyword":"type","message":"instance
type (string) does not match any allowed primitive type (allowed:
[\"object\"])","schema":{"loadingURI":"http://swagger.io/v2/schema.json#","pointer":"/definitions/schema"},"instance":{"pointer":"/definitions/$ref"}}]}

swagger.min.json
curl -X POST -H "accept:application/json" -d @swagger.min.json
http://online.swagger.io/validator/debug
{}

-- 
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