Skip to content

[base-line] Swagger example for /v1/true/csv and /v1/echo/csv has wrong mime-type #112

@parmentf

Description

@parmentf

It is application/json instead of text/csv

post.requestBody.content.application/json.example.0 = a,value
post.requestBody.content.application/json.example.1 = 1,2
post.responses.default.content.application/json.example.0 = a;value
post.responses.default.content.application/json.example.1 = 1;true

post.requestBody.content.application/json.example.0 = a,b
post.requestBody.content.application/json.example.1 = 1,2
post.responses.default.content.application/json.example.0 = a;b
post.responses.default.content.application/json.example.1 = 1;2

Which produces:

[;Column #1
a,b;
1,2
]

Fix:

  • v1/echo/csv
  • v1/true/csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions