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] Any of property is not defined swift file #255

Open
syeutyu opened this issue Nov 26, 2020 · 0 comments
Open

[Bug] Any of property is not defined swift file #255

syeutyu opened this issue Nov 26, 2020 · 0 comments

Comments

@syeutyu
Copy link
Contributor

syeutyu commented Nov 26, 2020

I use this generator by my open API.
But some errors appeared in my generated swift files.

If my open API spec included anyOf property then APIModel is not created
Am i missing some right flow?

command: swaggen generate ${my open API url}
xcode version 12.2
mac os: 10.15.7
Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)
Target: x86_64-apple-darwin19.6.0
Open API spec

operator: {
  anyOf: [
    {
      type: "null"
    },
  ]
}

Appeared error
스크린샷 2020-11-26 오전 10 50 14

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

1 participant