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
Tell us the extension to which you'd like to add the feature.
Client
What kind of feature would you like to add?
Sometimes one "has" to use an OpenAPI schema for model creation in projects not directly associated with the given API. It would be nice to be able to create the models with setters without manually editing the schema or trying to edit the generation template (which is discouraged in the documentation).
Proposal(s):
Perhaps a config such as quarkus.openapi-generator.codegen.spec."source".read-only-setters=true.
Alternative(s):
No response
Additional info:
No response
Community Notes
Please vote by adding a 👍 reaction to the feature to help us prioritize.
If you want to work on this feature, please leave a comment.
The text was updated successfully, but these errors were encountered:
It might be something that I actually should be able to do with configuring my Jackson object mapper, but anyways the case is the following. We have multiple projects using the same openapi schema, some of them communicate with API and such but some use just the model and receive the data from MongoDB, which makes it so that the setter less field won't be deserialized to the models.
I'm sorry, but this seems like an edge case. I don't really see the value of this feature in this extension. Can't you configure your marshallers or have a version of the spec without the model you are not interested in?
Tell us the extension to which you'd like to add the feature.
Client
What kind of feature would you like to add?
Sometimes one "has" to use an OpenAPI schema for model creation in projects not directly associated with the given API. It would be nice to be able to create the models with setters without manually editing the schema or trying to edit the generation template (which is discouraged in the documentation).
Proposal(s):
Perhaps a config such as
quarkus.openapi-generator.codegen.spec."source".read-only-setters=true
.Alternative(s):
No response
Additional info:
No response
Community Notes
The text was updated successfully, but these errors were encountered: