[Koha-bugs] [Bug 30385] Standardize our swagger yaml spec files
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 21 16:21:45 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30385
--- Comment #7 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I'm less sure about this now.. having delved through it I don't like how we
re-order the keys within the parameters block..
We were pretty consistently as below:
parameters:
- name: x-koha-embed
in: header
description: Embed list sent as request header
required: false
type: array
items:
enum:
- extended_attributes
type: string
collectionFormat: csv
This now comes out as:
parameters:
- collectionFormat: csv
description: Embed list send as request header
in: header
items:
enum:
- extened_attributes
type: string
name: x-koha-embed
required: false
type: array
I find the second much harder to read at a glance.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list