Add example of usage of openApiFile for swagger-gradle-plugin
See original GitHub issueTried to use the openApiFile configuration in swagger-gradle-plugin but couldn’t figure out how to make it work.
It would be good if we could add an example of the usage in the README.
If someone can help figure out how to use it I can try to make a PR with the updated README.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Adding Examples - Swagger
You can add examples to parameters, properties and objects to make ... For example, an API mocking tool can use sample values to...
Read more >Swagger API documentation in Play application with Gradle
I want to generate API documentation using swagger. My goal is to generate swagger.json file containing my REST API documentation in JSON format ......
Read more >How to generate code from OpenAPI definition with Visual ...
We've also seen that you can use the OpenAPI file to navigate the APIs ... After the wizard, Visual Studio adds an OpenAPIs...
Read more >OpenAPI Definition & Online Tools | Open API Standards List
In addition, you can use the API definition to better collaborate across teams. ... It can be helpful to review some OpenAPI examples...
Read more >io.swagger.core.v3.swagger-gradle-plugin - Gradle Plugin Portal
Using the plugins DSL: plugins { id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.7" }. Using legacy plugin application:.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This again doesn’t map to an OpenAPI file, as it includes root
openAPI, the right one in json format would beAs I mentioned the expected file is not a Swagger configuration but a spec, I would therefore rename
openApiFile = file('openapi-configuration.json')to something likeopenApiFile = file('openapi-input.json')you’re right, added a not to readme with example. Closing ticket, please reopen if you’re still experiencing issues