Skip to content

Pretty printing response? #381

Open
Open
@danielcompton

Description

@danielcompton

When developing, it would be nice to be able to see pretty printed EDN/JSON in responses. This would be especially useful when driving from the Swagger UI, as EDN is all printed on a single (very long) line.

Yada does this by detecting ;pretty=true as a parameter in the content type requested:
https://github.com/juxt/yada/blob/49da1febd6d0d11aa56d2a8d7c32df559232117c/bundles/default/test/yada/swagger_test.clj#L51

Is this possible/desired in this library?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions