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

Invalid handling of nested properties #53

Open
WeekendMan opened this issue Aug 13, 2019 · 1 comment
Open

Invalid handling of nested properties #53

WeekendMan opened this issue Aug 13, 2019 · 1 comment

Comments

@WeekendMan
Copy link

Look at the code sample below:

@ApiOperationPost({
    ...
    parameters: {
      body: {
        description: 'Blahblahblah',
        properties: {
          nestedData: { type: SwaggerDefinitionConstant.ARRAY, required: false },// This gives an error
          primitiveData: { type: SwaggerDefinitionConstant.STRING, required: false }// This works
        }
      }
    }
    ...
})
@sittingbool
Copy link

Hi, array probably needs an itemType

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