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

Models references in a property using oneOf are not being generated in 0.5.0 #28

Closed
remkoboschker opened this issue Jul 25, 2019 · 0 comments

Comments

@remkoboschker
Copy link

remkoboschker commented Jul 25, 2019

NSwag generates a swagger file that represents nullable properties like below. The Name model is not generated after the latest release.

{
  components: {
    schemas: {
      dto: {
        type: object,
        properties: {
          name: {
             nullable: true,
             oneOf: [
                {
                    $ref: #/components/schemas/Name
                }
            ]
        }
     }
  }
}
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