mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
[1/3] update openapi spec: update generator
Update the generator to be able to handle the new challenges that arose with the new specification, namely: - Enums that do not start with a capital letter - Enums that contain a reserved keyword - Basic handling 'allOf' keys in properties Additionally, the comparison enum deserialisation is now case-insensitive.
This commit is contained in:
parent
0180aeaab1
commit
f71c7a991b
3 changed files with 51 additions and 21 deletions
|
@ -4,8 +4,8 @@ public:
|
|||
enum Value {
|
||||
EnumNotSet,
|
||||
|
||||
{{#each values as |value|}}
|
||||
{{value}},
|
||||
{{#each entries as |entry|}}
|
||||
{{entry.name}},
|
||||
|
||||
{{/each}}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue