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

Generated Source Code Not Recognized (Swift OpenAPI Generator ) #18

Closed
ezfe opened this issue Apr 13, 2024 · 1 comment
Closed

Generated Source Code Not Recognized (Swift OpenAPI Generator ) #18

ezfe opened this issue Apr 13, 2024 · 1 comment

Comments

@ezfe
Copy link

ezfe commented Apr 13, 2024

I'm using the Swift OpenAPI generator and I've followed the basic tutorial they present (https://swiftpackageindex.com/apple/swift-openapi-generator/1.2.1/tutorials/swift-openapi-generator) and it builds successfully, but in Nova it shows a bunch of errors - all claiming the auto-generated types don't exist.

Please advise

Screenshot 2024-04-13 at 17 37 12@2x

SourceCode.zip

edit: Note, the source code I attached is missing a dependency declaration (.target(name: "ThemeParksSchema")) however resolving this error does not resolve the reported problem.

@logancollins
Copy link
Member

Unfortunately, this doesn't appear to be errors coming from Nova or Icarus themselves. It's coming from SourceKit-LSP (the language server which Icarus wraps, which is part of the Swift toolchain) and Swift Package Manager. If I open your example project, I see the same errors.

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

No branches or pull requests

2 participants