OpenAPITools / OpenAPITools/openapi-generator
[REQ] [SERVER] [Java] [Quarkus] useGzipSupport is not implemented
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
pom.xml
<configOptions>
<generateSupportingFiles>false</generateSupportingFiles>
<library>quarkus</library>
<serializationLibrary>jackson</serializationLibrary>
<dateLibrary>java8</dateLibrary>
<useBeanValidation>false</useBeanValidation>
<useGzipFeature>true</useGzipFeature>
<generatePom>false</generatePom>
<interfaceOnly>true</interfaceOnly>
<generateBuilders>true</generateBuilders>
<useSwaggerAnnotations>false</useSwaggerAnnotations>
</configOptions>
but generated interfaces do not include @GZIP annotation.
Describe the solution you'd like
Generated interfaces should include the @GZIP annotation, application.properties must include necessary configuration for both classic and reactive Quarkus modes, see https://quarkus.io/guides/resteasy#gzip-support
Additional context
@Override + @GZIP in the implementing class unfortunately doesn't work.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with pom.xml and inspect the generated interfaces and application.properties produced for Quarkus. Compare the required classic and reactive settings with the linked Quarkus gzip-support guide. Done means generated interfaces include @GZIP and application.properties contains the necessary configuration for both modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100