Skip to content

Support defining query params as object properties #84

@crickford

Description

@crickford

OpenAPI 3.x supports specifying accepted query parameters as a schema object, which among other things allows API spec authors to accept free-form parameters 🎉

Unfortunately, this does not currently work in OpenAPI Backend - I added a PR here with a failing test suite to demonstrate: #83

Here's an example from the docs:

{
  "in": "query",
  "name": "freeForm",
  "schema": {
    "type": "object",
    "additionalProperties": {
      "type": "integer"
    },
  },
  "style": "form"
}

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