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
[ yes ] What's the actual output vs expected output?
Expected: There should be some fields in all kotlin data classes.
Actual: None
Description
Generating the GitHub API schema for Kotlin results in a data class without fields, which doesn't compile. I've extracted and pared down a single endpoint in the gist.
In data.class.mustache, allVars is empty, even though hasVars is true and nonNullableVars, optionalVars, and readWriteVars all contain (in the example Gist) reviewers and teamReviewers.
openapi-generator version
My target version is 7.12.0 but it happens with :latest too, see above.
Bug Report Checklist
The domain has expired. Is this your domain? Renew now
I tried this validator with this cut-down schema and it looked like it was happy, but I'm not an expert.
Expected: There should be some fields in all kotlin data classes.
Actual: None
Description
Generating the GitHub API schema for Kotlin results in a data class without fields, which doesn't compile. I've extracted and pared down a single endpoint in the gist.
In data.class.mustache, allVars is empty, even though hasVars is true and nonNullableVars, optionalVars, and readWriteVars all contain (in the example Gist) reviewers and teamReviewers.
openapi-generator version
My target version is 7.12.0 but it happens with :latest too, see above.
OpenAPI declaration file content or url
https://gist.githubusercontent.com/sleekweasel/bd91330c7c437d1641a52761d18d8d60/raw/a9fcef66c20938b762944f3d938cbcee1f483fc5/api.chopped.json
Generation Details
Steps to reproduce
See above. There are no entries in data class, which means it won't compile.
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: