Skip to content

Feature "Unexploded query params" is not supported. #52

Closed
apple/swift-openapi-runtime
#35
@barnard-b

Description

@barnard-b

Using an Open API file that has a parameter with explode: false results in a warning of

Feature "Unexploded query params" is not supported, skipping [context: foundIn=Operations.launcher_list.Input.Query (#/paths/2.2.0/launcher/GET/query)/launcher_config__ids]

false values appear to be listed as unsupported in the documentation.
image

  /launcher/:
    get:
      operationId: launcher_list
      parameters:
        - in: query
          name: launcher_config__ids
          schema:
            type: array
            items:
              type: integer
          description: Comma-separated launcher config IDs.
          explode: false
          style: form
      responses:
        "200":
          description: A success response with a greeting.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Greeting"

I am open to creating a PR, but this is my first time using Open API and would need guidance.

Metadata

Metadata

Assignees

Labels

area/generatorAffects: plugin, CLI, config file.area/openapiAdding/updating a feature defined in OpenAPI.area/runtimeAffects: the runtime library.size/MMedium task. (A couple of days of work.)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions