-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Multiple APIs in the same project #129
Comments
Is it possible to generate code for each service using the a:
b:
|
But this gives me two static OpenAPI objects in two folder’s right? Than, I have to set the same bearer token and interceptors on two independent objects instead of one? |
@HJK181 In this library, the exportCore option is fixed to true, so I need to fix it. |
Will this be fixed in the next major version? |
Very nice lib, thank you for spending time on this.
I'm using the lib in an Expo project, where I call a Gateway application which routes requests to multiple backend services. Is it possible to create separate clients for those backends?
Atm. I have
"codegen": "openapi-rq -i http://localhost:8082/v3/api-docs --base http://localhost:8080/svc/a -c axios --format prettier ",
which is generating the code for the service behind port 8082, with a base URL pointing to servicea
. How could I add another service here? My main problem is that creating a second service will create second staticOpenAPI
object which I have to configure identically to the one from service a.The text was updated successfully, but these errors were encountered: