openapi-schema-pydantic
openapi-schema-pydantic copied to clipboard
Schema to flat parameters for inputs
I'm not sure if this is an "issue". In fact I don't think it is, but this is a use case scenario. Our input variables are actually defined as pydantic schema objects.
My goal is to have a query input schema type map to openapi valid json ... This (lovely) library offers the PydanticSchema class that handles a type, but is there a way to generate the params ONLY from an input schema type?
Thanks!