llama-stack-mirror/docs/openapi_generator
Sébastien Han 440a15d81e
chore: force ellipsis in API webmethods
This new check will fail if some webmethods are missing the ellipsis:

```
API Method Return Type Validation Errors:

Method Api.eval.job_result does not contain ellipsis (...) in its implementation
Method Api.agents.create_agent_turn does not contain ellipsis (...) in its implementation
Method Api.agents.create_openai_response does not contain ellipsis (...) in its implementation
Method Api.eval.evaluate_rows does not contain ellipsis (...) in its implementation
Method Api.eval.run_eval does not contain ellipsis (...) in its implementation
```

Unless not implemented.
Also, print generator error on stderr so they show up when pre-commit
fails.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-05-12 17:05:48 +02:00
..
pyopenapi chore: force ellipsis in API webmethods 2025-05-12 17:05:48 +02:00
generate.py chore: force ellipsis in API webmethods 2025-05-12 17:05:48 +02:00
README.md docs: Remove duplicate docs on api docs generator (#1534) 2025-03-11 10:01:46 -07:00
run_openapi_generator.sh chore: remove straggler references to llama-models (#1345) 2025-03-01 14:26:03 -08:00

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