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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have an API that returns application/json or application/ld+json.
I've been able to specify the desired format using
This works if I change for /json too.
But typescript still yield both types when using useQuery for OpenAPIClient.
Is there anyway to make it understand I'll have only one or the other all time ?
Beta Was this translation helpful? Give feedback.
All reactions