OpenAPI-to-GraphQL v1.0.0
ErikWittern
released this
20 Jun 20:33
·
257 commits
to master
since this release
Renamed OASGraph to OpenAPI-to-GraphQL
- 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.
- Add addLimitArgument option
- Allows to constrain the size of returned lists
- 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
- Improved warning handling
Regarding CLI-specific improvements:
- CORS support
Special thanks to @thejibz, @JamesDuf, @jduffy3, @SrChip15 for contributing to this update!