llama-stack-mirror/docs/openapi_generator/pyopenapi
ehhuang 80d58ab519
chore: refactor (chat)completions endpoints to use shared params struct (#3761)
# What does this PR do?

Converts openai(_chat)_completions params to pydantic BaseModel to
reduce code duplication across all providers.

## Test Plan
CI









---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/llamastack/llama-stack/pull/3761).
* #3777
* __->__ #3761
2025-10-10 15:46:34 -07:00
..
__init__.py move openapi from rfcs->docs 2024-09-18 16:09:17 -07:00
generator.py chore: refactor (chat)completions endpoints to use shared params struct (#3761) 2025-10-10 15:46:34 -07:00
operations.py feat(api): add extra_body parameter support with shields example (#3670) 2025-10-03 13:25:09 -07:00
options.py docs: api separation (#3630) 2025-10-01 10:13:31 -07:00
README.md move openapi from rfcs->docs 2024-09-18 16:09:17 -07:00
specification.py feat(api): add extra_body parameter support with shields example (#3670) 2025-10-03 13:25:09 -07:00
template.html fix: update CDN url for stoplight 2025-03-14 15:46:45 -07:00
utility.py chore: refactor (chat)completions endpoints to use shared params struct (#3761) 2025-10-10 15:46:34 -07:00