Releases: IBM/openapi-to-graphql
Releases · IBM/openapi-to-graphql
OpenAPI-to-GraphQL v2.2.4
OpenAPI-to-GraphQL v2.2.3
- Resolver GET requests do not send a
Content-Type
header - Typing improvements
OpenAPI-to-GraphQL v2.2.2
- Checks if an input object type contains a union type (which according to the spec, is illegal) and will default to an arbitrary json type instead
- Improvements in error handling
OpenAPI-to-GraphQL v2.2.1
- Support for arbitrary JSON pointer references
Special thanks to @mtth for this contribution!
OpenAPI-to-GraphQL v2.2.0
OpenAPI-to-GraphQL v2.1.1
- Fixed "Cannot use 'in' operator to search for '#' in undefined" error (see #323)
- The problem was caused by improper resolution of referenced nested component schemas in parameter objects
- Various other fixes and improvements
OpenAPI-to-GraphQL v2.1.0
- Takes advantage of
callback
objects to create Subscription fields using pubsub connections. - Added
createSubscriptionsFromCallbacks
option- Toggles whether subscription fields should be added
- Added
customSubscriptionResolvers
option- Allows users to add their own custom resolve and subscribe functions to subscription fields (if they are being added)
We now have Subscription support!!!
Extra big thanks to @getlarge for this incredible contribution!
OpenAPI-to-GraphQL v2.0.0
- Support for
allOf
,oneOf
,anyOf
, andnot
JSON schema keywords- Including proper fallback for edge cases
- Enum values are in ALL_CAPS, following GraphQL convention
- Support for
x-www-form-urlencoded
request bodies - Add
genericPayloadArgName
option - Add
simpleNames
option- Create field and type names with minimal changes/formatting
- Add
singularNames
option- Create semantically meaningful names from analyzing the operation path (experimental)
- Fix bug where linked fields were not using
requestOptions
- Numerous code improvements
Special thanks @cliffpyles, @YoonsLee, @sotaokuhama, @ibudden
OpenAPI-to-GraphQL v1.7.0
- Added
selectQueryOrMutationField
option- Allows users to manually define if an operation should be added as a
Query
orMutation
field
- Allows users to manually define if an operation should be added as a
Special thanks to @gtamas for contributing to this update!
OpenAPI-to-GraphQL v1.6.2
- Fixed bug with processing
null
in request bodies (input object types)