Skip to content

Where do I get/pass-in OpenAPI config? #337

Closed Answered by mrlubos
kingsley asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @kingsley, the object is in your output folder which is import { OpenAPI } from 'src/client' if you use the same value as in docs. However, I am not sure you need it to do what you're trying to do. You can modify requests directly in interceptors, so you could add headers to your request as needed. Modifying OpenAPI object changes values for every request, that doesn't sound ideal in your case.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jordanshatford
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants