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

[BUG][csharp-netcore] Unkown base type #16795

Closed
5 tasks done
kYann opened this issue Oct 11, 2023 · 1 comment · Fixed by #16991
Closed
5 tasks done

[BUG][csharp-netcore] Unkown base type #16795

kYann opened this issue Oct 11, 2023 · 1 comment · Fixed by #16991

Comments

@kYann
Copy link

kYann commented Oct 11, 2023

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
Description

When generating client from schema, some type are "UNKOWN_BASE_TYPE" leading to compilation error.

openapi-generator version

7.0.1

OpenAPI declaration file content or url

https://gist.github.com/kYann/17c85748ea8e092e451228db040d1fc9

Generation Details

openapi-generator-cli generate -i http://localhost:5127/swagger/v1/swagger.json

Steps to reproduce

Generate client and try to compile

@wing328
Copy link
Member

wing328 commented Nov 5, 2023

just merged a fix. please give it a try with the latest master (snapshot version available in the readme)

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

Successfully merging a pull request may close this issue.

2 participants