firecamp-io / firecamp

VSCode for APIs, Postman Alternative.
https://firecamp.dev
317 stars 22 forks source link

Yaml is not recognised in response body #142

Closed pavelsaman closed 3 years ago

pavelsaman commented 3 years ago

Describe the bug

Yaml is not recognised and pretty-printed when such a response body arrives.

To Reproduce

  1. Get a REST API response where data are sent back in yaml format, e.g. this endpoint: https://randomuser.me/api/?results=1&format=yaml
  2. Yaml is not recognised and such a response body is not pretty-printed:

image

Expected behavior

Some other major data formats like json, xml are always by default pretty-printed, e.g.:

image

Platform (please complete the following information):

Nishchit14 commented 3 years ago

released https://github.com/firecamp-io/Firecamp/releases/tag/v2.0.11