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

The allOff change in 720e282 #621

Closed
fredriklengstrand opened this issue Aug 24, 2018 · 2 comments
Closed

The allOff change in 720e282 #621

fredriklengstrand opened this issue Aug 24, 2018 · 2 comments

Comments

@fredriklengstrand
Copy link
Contributor

Was the commit 720e282 also meant to remove the name of the schema from the title for anyOf and oneOf?

Before:
screen shot 2018-08-24 at 09 44 23

After:

screen shot 2018-08-24 at 09 31 52

The relevant yaml:

any:
  anyOf:
    - $ref: "#/components/schemas/Foo"
    - $ref: "#/components/schemas/Bar"
one:
  oneOf:
    - $ref: "#/components/schemas/Foo"
    - $ref: "#/components/schemas/Bar"
all:
  allOf:
    - $ref: "#/components/schemas/Foo"
    - $ref: "#/components/schemas/Bar"
Foo:
  type: object
  properties:
    foo:
      type: string
Bar:
  type: object
  properties:
    bar:
      type: string
@RomanHotsiy
Copy link
Member

@fredriklengstrand no, it didn't mean so.
Thanks for reporting. I will investigate.

RomanHotsiy added a commit that referenced this issue Aug 24, 2018
@RomanHotsiy
Copy link
Member

Fixed in 39b930d

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