OpenAPITools / OpenAPITools/openapi-generator
[REQ] Generate constants for paths for `spring-http-interface` library
Open
Beginner friendly
Nobody has claimed this yet.
Enhancement: Feature
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
Constants for paths were added for spring-boot library in #1385, but they are still not generated for spring-http-interface library.
String PATH_{{#lambda.uppercase}}{{#lambda.snakecase}}{{{operationId}}}{{/lambda.snakecase}}{{/lambda.uppercase}} = "{{{path}}}";
Solution
Support the same feature for library spring-http-interface
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
Compare the existing path-constant template in modules/openapi-generator/src/main/resources/JavaSpring/api.mustache with libraries/spring-http-interface/api.mustache. Start by reading the referenced template sections, then make the spring-http-interface output include equivalent operation path constants and verify generated APIs contain them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 84/100