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

request params and querystring schema don't support allOf etc. #330

Closed
henryv11 opened this issue Dec 18, 2020 · 0 comments · Fixed by #333
Closed

request params and querystring schema don't support allOf etc. #330

henryv11 opened this issue Dec 18, 2020 · 0 comments · Fixed by #333

Comments

@henryv11
Copy link

henryv11 commented Dec 18, 2020

I have an schema of type

{
  allOf: [
    {
      type: 'object',
      properties: [Object],
      required: undefined
    },
    {
      type: 'object',
      properties: [Object],
      required: undefined
    }
  ]
}

When i put it into either querystring or params schema for my endpoint the documentation generation crashes and i cannot access the docs page. Only shows error 'Failed to load API definition.'

However when i put the same schema into either body or headers schema, the documentations work properly.

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

Successfully merging a pull request may close this issue.

1 participant