Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty generated schema #170

Open
leonchaves opened this issue May 16, 2019 · 1 comment
Open

Empty generated schema #170

leonchaves opened this issue May 16, 2019 · 1 comment
Labels

Comments

@leonchaves
Copy link

I am using org.hidetake.swagger.generator v. 2.15.0 and swagger-codegen-cli v. 3.0.0 (as swaggerCodegen in my gradle dependencies). (gradle v. 4.10.2, java 1.8.0 and linux 4.15) I also have:

swaggerSources {
  siaServer {
    inputFile = file('docs/openapi.yaml')
    code { language = 'html2' }
  }
}

But when I execute ./gradlew generateSwaggerCode the generated html2 output has empty schemas (apis are shown fine). Using the very same yaml file and the online swagger editor, the generated html2 shows my defined schemas. What am I missing?

@leonchaves leonchaves added the bug label May 16, 2019
@lrwilke
Copy link

lrwilke commented Feb 16, 2021

I'm still experiencing the same issue in the current version, is there any fix available for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants