http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13903
--- Comment #7 from Olli-Antti Kivilahti <[email protected]> --- Tested that the parameter definition "optional" actually works, and they just aren't used. "properties": { "biblionumber": { "description": "Biblio internal identifier", - "type": "integer" + "type": "integer", + "required": true }, "itemnumber": { "description": "Item internal identifier", - "type": "integer" + "type": "integer", + "required": true }, "branchcode": { "description": "Pickup location", @@ -413,7 +415,8 @@ "expirationdate": { "description": "Reserve end date", "type": "string", - "format": "date" + "format": "date", + "required": false Using these Swagger2Validator no longer complains about missing parameters and stuff just works ! This resolves the OPTIONAL/MANDATORY-issue. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
