anttiviljami / react-openapi-client

Consume OpenAPI-enabled APIs with React Hooks
MIT License
57 stars 10 forks source link

[Question] Are multiple API definitions supported? #28

Open bmsan opened 3 years ago

bmsan commented 3 years ago

Firstly I want to thank you for this package which is pretty awesome.

I wanted to ask if this package is compatible with multiple OpenAPIProviders coexisting at the same time.

<OpenAPIProvider definition='api1.json'>
    <OpenAPIProvider definition='.api2.json>
....
    </OpenAPIProvider>
</OpenAPIProvider>