vllm-project / vllm-project/production-stack

bug: Can't pass body of request in swagger docs

Open
#667 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request good first issue
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.