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
{{ message }}
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.
While generating a project from a yaml spec (swagger.yaml), the generated spec in project is in json format if on a single line and so is not human readable
Steps to reproduce
run slush vertx
choose Vert.x Web Server OpenAPI project
open the schema under src/main/resources/swagger.json
Extra
Perhaps, just copy the schema (yaml or json) used to generate the project, as it should be correct if the project has been generated
The text was updated successfully, but these errors were encountered:
If you want to make an update to the schemas you can simply load all your schemas inside the resources dir of your generated project and vertx-web-api-contract solves everything (ok now it's bugged but it will work 😄)
This project only does a first time code scaffolding, no more.
A maven plugin is more suitable for that work (for oas 2 there are tons of plugins for gulp that do that work) that at every build it bundles the schema. Maybe we can work together on it, contact me if you are interested!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Context
While generating a project from a yaml spec (swagger.yaml), the generated spec in project is in json format if on a single line and so is not human readable
Steps to reproduce
slush vertx
Vert.x Web Server OpenAPI project
src/main/resources/swagger.json
Extra
Perhaps, just copy the schema (yaml or json) used to generate the project, as it should be correct if the project has been generated
The text was updated successfully, but these errors were encountered: