OpenAPI-to-GraphQL v0.15.0
OpenAPI-to-GraphQL v0.15.0
- Multi-OAS support
- Create GraphQL interfaces using multiple APIs
- Inter-OAS links
- Allows you to create nested objects the resolve on different APIs
- Custom resolvers
- Allows complete control over the generated resolvers. Opens many new doors such as creating resolvers that do not depend on a REST API backend or implementing caching.
- Added cookie authentication
- We now have full API key location support (i.e. "query", "header", and "cookie")!
- Exposed Request options, allowing fine control over generated resolvers
- Error extensions
- Errors during query execution are now clearly displayed
- Collapse links so that GraphQL object types can use links defined in different OAS operations objects
- Use Prettier for consistent formatting
- Simplified code base
Regarding CLI-specific improvements:
- CORS support
Special thanks to @thejibz, @JamesDuf, @jduffy3, @SrChip15 for contributing to this update!