Skip to content

Only swagger generation for end-point #83

@vladarefiev

Description

@vladarefiev

Hello @apryor6 .
I am happy using this library, but sometimes I want to do something before validation, for example pass context to Marshmallow Schema, but I still want to generate swagger for this API.

I'd like to contribute to the library implementing such functionality. What is the best way to do it to your opinion?

  • extend existing both accepts and responds decorators with validate: bool param.
  • create new decorator @swagger just for generation swagger spec.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions