Skip to content
This repository has been 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 opened this issue Aug 1, 2019 · 0 comments
Open
Labels
apiblueprint bug Something isn't working

Comments

@pksunkara
Copy link
Contributor

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
@pksunkara pksunkara added apiblueprint bug Something isn't working labels Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
apiblueprint bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant