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

combine schemas not working in 'paths' #29

Open
srischard opened this issue Nov 11, 2019 · 1 comment
Open

combine schemas not working in 'paths' #29

srischard opened this issue Nov 11, 2019 · 1 comment

Comments

@srischard
Copy link

combining schemas in path is not working
e.g.

paths:
  /pets:
    patch:
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/Cat'
                - $ref: '#/components/schemas/Dog'

but it's working in

components:
  schemas:
  ...
@srischard srischard changed the title combine schemas combine schemas not working in 'paths' Nov 12, 2019
@tobilg
Copy link
Owner

tobilg commented Nov 16, 2019

Hi @srischard, this seems to be an upstream bug in https://github.com/mermade/widdershins, I suggest you file a bug report there. Thanks in advance!

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