Skip to content

Is there support for deep Object in query params #250

Open
@Origin1227

Description

@Origin1227

Does openapi-core provide support for deep Object in query params
Below i have my schema specifying parameters

    parameters
       [
          {
            "name": "abcd",
            "in": "query",
            "description": "Parameters",
            "explode": false,
            "style": "deepObject",
            "schema": {
              "type": "object",
              "properties": {
                "a": {
                  "type": "number"
                },
                "b": {
                  "type": "number"
                }
              }
            }
          }
        ]

example:
according to this
urls of the type /fruits?abcd[a]=1 should be accepted
and urls of type /fruits?abcd=1 should throw error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions