Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants