Skip to content

middleware on routes delete api info for swagger #47

@yogsototh

Description

@yogsototh

I simply tried to add

(PUT* "/my/route" []
    :return mySchema
    :body [param (describe paramSchema "my param")]
    :middlewares [identity]
    (ok "done"))

in my route declaration, the middlewares appears to work, but the YAML generated for the api-docs occurs as if there were no schema provided. So the swagger ui don't show any more input fields.

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