llama-stack-mirror/docs/openapi_generator
Ashwin Bharambe 79f889d3f0 feat(api): add extra_body parameter support with shields example
Introduce ExtraBodyField annotation to enable parameters that arrive via extra_body in client SDKs but are accessible server-side with full typing. These parameters are documented in OpenAPI specs under x-llama-stack-extra-body-params but excluded from generated SDK signatures. Add shields parameter to create_openai_response as the first implementation using this pattern.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 10:35:33 -07:00
..
pyopenapi feat(api): add extra_body parameter support with shields example 2025-10-03 10:35:33 -07:00
generate.py docs: API spec generation for Stainless (#3655) 2025-10-02 09:25:09 -07:00
README.md chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
run_openapi_generator.sh fix: update OpenAPI generator (#3527) 2025-09-24 13:57:27 -07:00

The RFC Specification (OpenAPI format) is generated from the set of API endpoints located in llama_stack.core/server/endpoints.py using the generate.py utility.