Open RicoSuter opened 6 years ago
Any news about this?
I recommend to use an array of enums - x-enumFlag is NJS specific and not supported by other tooling...
I dont have plans to implement this soon (mainly because I personally not need it and I don't recommend it).
Ok thanks, to follow: https://github.com/json-schema-org/json-schema-spec/issues/518
Flag enums must be manually deserialized/serialized in TypeScript DTOs (interfaces cannot support it correctly).
Tasks:
See pr for x-enumFlag generation: https://github.com/RSuter/NJsonSchema/pull/713