https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17428 --- Comment #32 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Comment on attachment 56555 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56555 Bug 17428: [REST] Cities swagger specification Review of attachment 56555: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17428&attachment=56555) ----------------------------------------------------------------- Minor query regarding returned serialised bodies ::: api/v1/swagger/definitions/city.json @@ +3,5 @@
+ "properties": { + "cityid": { + "$ref": "../x-primitives.json#/cityid" + }, + "city_name": {
Does this not break our own rule of following the UI term.. I feel this should simply be 'name' and not expose the db field names to the end user (the api consumer in this case). -- You are receiving this mail because: You are watching all bug changes.