vllm-project / vllm-project/production-stack
bug: Can't pass body of request in swagger docs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 503
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 8
Description
Describe the bug
When clicking "Try it out" in the swagger docs, it is not possible to pass the request body. For example, for /v1/chat/completions and /v1/completions, etc.
This makes the "try it out" feature practically useless for those endpoints.
To Reproduce
Try to send a completions or chat/completions request using the "try it out" option in swagger documentation.
Expected behavior
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by opening the Swagger documentation and using “Try it out” for /v1/chat/completions or /v1/completions. Trace the OpenAPI definition or documentation entry point that supplies these endpoints, then verify that the request body is editable and sent when the fix is complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, python
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100