Skip to content

Support s/keys key-groups in openapi spec  #619

@jimpil

Description

@jimpil

Hello,

I was under the impression that specs like the one below, didn't show correctly on the swagger-v2 schema because it doesn't support this kind of one-of semantics. I believe that openapi-v3 does support it, but unfortunately, the same thing happens - all the keys show up as required (i.e. with a red asterisk).

(s/keys :req-un [(or ::foo ::bar ::baz)])

Any thoughts?

[EDIT]:
Sorry, I should have mentioned that I am using the recently released 0.7.0-alpha1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions