Skip to content

Q: Are unquoted object keys in response examples intentional? #245

@dcarr178

Description

@dcarr178

My users are asking why object keys are unquoted in response examples (non-valid json). When I click the copy button the text copied to clipboard contains quoted object keys, so I have to assume quotes were intentionally omitted from displaying but I'm not sure why. Perhaps for readability? I'm probably going to change this in my fork but can add a config option true/false users can pass into component if you think it's valuable enough to merge into master.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions