Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Array parameters in swagger is incorrectly converted into API Blueprint #318

Open
@pksunkara

Description

@pksunkara

Given OAS2 document:

swagger: '2.0'
info:
  title: Optional Parameters
  version: '1.0'
paths:
  '/test':
    get:
      parameters:
        - name: title
          in: query
          description: Body argument
          required: false
          type: array
          items:
            type: string
      responses:
        200:
          description: ok

When run npx fury --format text/vnd.apiblueprint issue.yaml, the generated APIB looks like the following:

FORMAT: 1A

# Optional Parameters

### /test

#### GET /test{?title}

+ Parameters

    + title:  - Body argument

+ Response 200

    ok

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions