-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed as not planned
Labels
Description
The Feature
I tried generating a client for LiteLLM from the openapi schema generated by FastAPI but encountered the following issues:
- "/model/info" response is untyped (schema is
{}) - security property is 5-times duplicate of
{ "APIKeyHeader": [] }(not really an issue, since these are OR-ed together, but odd for sure) - bearer auth is missing, would expect to see something like
components: securitySchemes: bearerAuth: type: http scheme: bearer
There might be more similar issues, particularly related to missing type information for certain routes. These are just the ones I stumbled upon.
Motivation, pitch
I would like to be able to generate a correct Client in statically typed languages.
Are you a ML Ops Team?
No
Twitter / LinkedIn details
No response