OpenAPITools / OpenAPITools/openapi-generator
Using graphql-schema generator gives files with extention ".graphql", However spring requires with extenstion ".graphqls" files
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
Using graphql-schema generator gives files with extention ".graphql", However spring requires with extenstion ".graphqls" files
openapi-generator version
openapi-generator-cli
Version 4.2.2
OpenAPI declaration file content or url
http://petstore.swagger.io/?displayOperationId=false
Command line used for generation
openapi-generator generate -i petStore-OpenAPI.yaml -g graphql-schema -o ./codeGen
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
Can we have the Files generated in ".graphqls" extension as well so it can be used with spring based applications.
https://www.baeldung.com/spring-graphql
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 the graphql-schema generator invoked by openapi-generator generate -i petStore-OpenAPI.yaml -g graphql-schema -o ./codeGen, and inspect which generated files receive their extension. Done means the generator produces files usable by Spring with the requested .graphqls extension; verify the generated output against the reported command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, java, spring
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100