openapi-to-graphql

Translate APIs described by OpenAPI Specifications (OAS) into GraphQL

MIT License

Downloads
156.8K
Stars
1.6K
Committers
37

Bot releases are visible (Hide)

openapi-to-graphql - OpenAPI-to-GraphQL v2.6.3 Latest Release

Published by Alan-Cha over 2 years ago

  • Fix oneOf resolution with member schemas containing allOf
  • OneOf will now create link fields on member schemas

Special thanks to @mzronek for contributing to this update!

openapi-to-graphql - OpenAPI-to-GraphQL v2.6.2

Published by Alan-Cha over 2 years ago

  • Support for form style and explode operation parameters
  • Fix support for non-string and nested parameters in link objects

Special thanks to @eokoneyo for contributing to this update!

openapi-to-graphql - OpenAPI-to-GraphQL v2.6.1

Published by Alan-Cha almost 3 years ago

  • Fix fetching input OAS from URL using CLI

Special thanks to @bryanbalmer for this contribution!

openapi-to-graphql - OpenAPI-to-GraphQL v2.6.0

Published by Alan-Cha almost 3 years ago

Special thanks to @eokoneyo for this release!

openapi-to-graphql - OpenAPI-to-GraphQL v2.5.2

Published by Alan-Cha almost 3 years ago

  • Fix build error that prevented the CLI from working

Special thanks to @MarcoDaniels for this contribution!

openapi-to-graphql - OpenAPI-to-GraphQL v2.5.1

Published by Alan-Cha about 3 years ago

openapi-to-graphql - OpenAPI-to-GraphQL v2.4.0

Published by Alan-Cha over 3 years ago

  • Add support for custom extensions to control type name, field name, and enum values.
  • Simplify anyOf and oneOf resolution
  • Fix bug with fillEmptyResponses option

Special thanks to @elsmr for this update!

openapi-to-graphql - OpenAPI-to-GraphQL v2.3.0

Published by Alan-Cha over 3 years ago

  • Add validation and translation options, oasValidatorOptions and swagger2OpenAPIOptions
  • Add simpleEnumValues option
  • Expose preprocessing data for debugging the generated schema
  • Fix bug in resolving allOf
  • Update evaluation script

Special thanks to @dotansimha, @nlundquist, and @SimonCull for contributing to this update!

openapi-to-graphql - OpenAPI-to-GraphQL v2.2.6

Published by Alan-Cha over 3 years ago

  • Fix a bug leaking data about the underlying API calls
    • Previously exposed the _openAPI-to-GraphQL field in fields returning the GraphQLJSON scalar type
openapi-to-graphql - OpenAPI-to-GraphQL v2.2.5

Published by Alan-Cha about 4 years ago

  • Update dependencies
openapi-to-graphql - OpenAPI-to-GraphQL v2.2.4

Published by Alan-Cha over 4 years ago

  • Fix small issue with the json-ptr dependency

Special thanks to @ymglez for contributing to this update!

openapi-to-graphql - OpenAPI-to-GraphQL v2.2.3

Published by Alan-Cha over 4 years ago

  • Resolver GET requests do not send a Content-Type header
  • Typing improvements
openapi-to-graphql - OpenAPI-to-GraphQL v2.2.2

Published by Alan-Cha over 4 years ago

openapi-to-graphql - OpenAPI-to-GraphQL v2.2.1

Published by Alan-Cha over 4 years ago

  • Support for arbitrary JSON pointer references

Special thanks to @mtth for this contribution!

openapi-to-graphql - OpenAPI-to-GraphQL v2.2.0

Published by Alan-Cha over 4 years ago

  • Request headers can now be provided by functions, allowing headers to be dynamically set
  • Drastic improvements in typing

Special thanks to @yoonslee for this very long awaited feature!

openapi-to-graphql - OpenAPI-to-GraphQL v2.1.1

Published by Alan-Cha over 4 years ago

  • Fixed "Cannot use 'in' operator to search for '#' in undefined" error (see #323)
  • Various other fixes and improvements
openapi-to-graphql - OpenAPI-to-GraphQL v2.1.0

Published by Alan-Cha over 4 years ago

We now have Subscription support!!!

Extra big thanks to @getlarge for this incredible contribution!

openapi-to-graphql - OpenAPI-to-GraphQL v2.0.0

Published by Alan-Cha over 4 years ago

  • Support for allOf, oneOf, anyOf, and not 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 - OpenAPI-to-GraphQL v1.7.0

Published by Alan-Cha almost 5 years ago

Special thanks to @gtamas for contributing to this update!

openapi-to-graphql - OpenAPI-to-GraphQL v1.6.2

Published by Alan-Cha almost 5 years ago

  • Fixed bug with processing null in request bodies (input object types)