Conversation
…bute as fallback & tests
|
I think the best approach should be to control both attributes independently, from the configuration. Something like new configuration switches named Then users can opt-in to use the new Additionally, users can opt-out of the old Note that the tests only asserts that the produced code compiles ( |
|
Yes sorry, its actually a bug in the generator. The EnumValue is actually worthless and can also be removed for STJ, right? In theory yes someone could have implemented a global custom converter |
|
After investigation, the attribute was really working because in NSwag we generate this special converter which handles this correctly. So this was a big breaking change which this PR reverts. |
Closes #1738
Reverts #1864
and adds a JsonLibraryVersion config instead.