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

allOf will print object(nameOfFirstTypeInAllOf) #601

Closed
cmeeren opened this issue Aug 9, 2018 · 0 comments
Closed

allOf will print object(nameOfFirstTypeInAllOf) #601

cmeeren opened this issue Aug 9, 2018 · 0 comments

Comments

@cmeeren
Copy link

cmeeren commented Aug 9, 2018

The following:

properties:
  username:
    allOf:
      - $ref: '#/components/schemas/ConstraintAuthorized'
      - $ref: '#/components/schemas/ConstraintWritable'

will render as:

image

As you can see, the type name of the first allOf reference is rendered, which is incorrect. I'd expect no type name to be rendered when (multiple) references are used in allOf.

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