Skip to content

[Improvement][swagger] Now the interface document returns only the generic template #11208

@fuchanghai

Description

@fuchanghai

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

截屏2022-07-29 18 10 33

If the developer is a front end, he wants to see the data structure in 'data'

If the response attribute of the annotation @apioperation is used, the interface document can see the data structure of data, but cannot see the general return template. Can you give some advice? Need a discussion tag?
@SbloodyS @EricGao888

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions