Skip to content

bug: deepObject is not allowed #5739

@vm-001

Description

@vm-001

Using the following spec causes a lint error. According to the documentation here, deepObject should be allowed in query parameters.

style must be one of allowed values: form, simpleapilint(5150800)
openapi: 3.0.3
info:
  title: Filter API Demo
  version: 1.0.0

paths:
  /users:
    get:
      summary: List users with filter
      parameters:
        - name: filter
          in: query
          style: deepObject
          explode: true
          schema:
            type: object
            properties:
              name:
                type: string
              age:
                type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        age:
                          type: integer
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions