Skip to content

deepObject paramters with array values do not support nested $refs #450

Description

@ahx

This test case should pass, but produces an unexpected error "value at /filter is not an array".
It works as expected if the $ref is inlined.

    openapi: 3.1.1
    paths:
      /:
        get:
          operationId: 'foo'
          parameters:
            - name: filter
              in: query
              style: deepObject
              explode: true
              schema:
                type: object
                properties:
                  ids:
                    $ref: '../data/components/schemas/integers.yaml'
          responses:
            '200':
              description: ok
GET /?filter[ids]=1&filter[ids]=2

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions