You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Related to #18829 – although it is documented in the library option, it would be much more helpful to users if it would fail hard.
Describe the solution you'd like
Ideally, the generator would know about this and exit with a helpful message. Less ideal, it would just throw an exception (might lead to more bug reports than it saves).
Approach
Generally, the current codebase lacks the ability to programmatically query this kind of information from one place. I've started to develop a structured enum that may could be used for this task and also simplify the existing assignment of serializationLibrary in processOpts():
Is your feature request related to a problem? Please describe.
Related to #18829 – although it is documented in the library option, it would be much more helpful to users if it would fail hard.
Describe the solution you'd like
Ideally, the generator would know about this and exit with a helpful message. Less ideal, it would just throw an exception (might lead to more bug reports than it saves).
Approach
Generally, the current codebase lacks the ability to programmatically query this kind of information from one place. I've started to develop a structured enum that may could be used for this task and also simplify the existing assignment of
serializationLibrary
inprocessOpts()
:openapi-generator/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaClientCodegenTest.java
Lines 70 to 109 in 1c787ba
The text was updated successfully, but these errors were encountered: