1
0
Fork 0
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:
Chris Josten 2025-03-13 02:34:23 +01:00 committed by Chris Josten
parent 0180aeaab1
commit f71c7a991b
3 changed files with 51 additions and 21 deletions

View file

@ -4,8 +4,8 @@ public:
enum Value {
EnumNotSet,
{{#each values as |value|}}
{{value}},
{{#each entries as |entry|}}
{{entry.name}},
{{/each}}
};