llama-stack-mirror/docs/_static
Sébastien Han 7fc5faf793
fix: return 4xx for non-existent resources in GET requests
- Removed Optional return types for GET methods
- Raised ValueError when requested resource is not found
- Ensures proper 4xx response for missing resources
- Updated the API generator to check for wrong signatures

```
$ uv run --with ".[dev]" ./docs/openapi_generator/run_openapi_generator.sh
Validating API method return types...

API Method Return Type Validation Errors:

Method ScoringFunctions.get_scoring_function returns Optional type
```

Closes: https://github.com/meta-llama/llama-stack/issues/1630
Signed-off-by: Sébastien Han <seb@redhat.com>
2025-03-18 20:32:43 +01:00
..
css Several documentation fixes and fix link to API reference 2025-02-04 14:00:43 -08:00
llama-stack-logo.png first version of readthedocs (#278) 2024-10-22 10:15:58 +05:30
llama-stack-spec.html fix: return 4xx for non-existent resources in GET requests 2025-03-18 20:32:43 +01:00
llama-stack-spec.yaml fix: return 4xx for non-existent resources in GET requests 2025-03-18 20:32:43 +01:00
llama-stack.png Make a new llama stack image 2024-11-22 23:49:22 -08:00
remote_or_local.gif [docs] update documentations (#356) 2024-11-04 16:52:38 -08:00
safety_system.webp [Docs] Zero-to-Hero notebooks and quick start documentation (#368) 2024-11-08 17:16:44 -08:00