You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure where that difference is coming from, but it seems that I have to pass { query: {} } to satisfy typescript right now and I don't think that is correct :)
The text was updated successfully, but these errors were encountered:
I've copied the output of the standard PetStore example into a TypeScript playground.
At the end, I've created an api and tried to invoke
findByStatus
:The error you'll see is:
When looking at the type of that function,
config
is indeed required:However, running the same code in the
typed-openapi
playground shows the whole config as optional:I'm not sure where that difference is coming from, but it seems that I have to pass
{ query: {} }
to satisfy typescript right now and I don't think that is correct :)The text was updated successfully, but these errors were encountered: