flasgger / flasgger/flasgger

How to show parameters and responses in Swagger UI

Open
#631 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.7k
Forks
525
PR merge metrics
No merged PRs in 30d

Description

I'm trying to make the parameters and responses appear from the user.yaml file, appear in the Swagger UI. Because I'm later calling this file in my application's user.py using this from here " @swag_from("swagger/user.yaml") "

![Image](https://github.com/user-attachments/assets/eeae1957-fcd5-4988-a8c7-3ed8e6c35992)

![Image](https://github.com/user-attachments/assets/537483d6-340c-4d4a-b513-9eb8abc5918e)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the referenced user.yaml and user.py files, then trace how @swag_from("swagger/user.yaml") is processed and how the resulting specification is rendered in Swagger UI. Compare the generated specification with the parameters and responses shown in the screenshots; done means those fields appear correctly in the UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, openapi, python
Domain
api, documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.