Skip to content

Add support for arrays for the type #103

Description

@robinmackaij

Since OAS 3.1 the type can take either a string value or an array / list of strings:

"type": "object"

"type": ["string", "integer"]

This has changed since OAS 3.0, where multiple types would have to be defined using oneOf or anyOf.

Currently the library does not support OAS 3.1+ specs using the array type notation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions