Skip to content

pontus-eliason/graphql-java-codegen

 
 

Repository files navigation

GraphQL Codegen

Build Gitter License: MIT

Sonarcloud Status SonarCloud Coverage SonarCloud Bugs SonarCloud Vulnerabilities

GraphQL Java Codegen makes it easy to make your Java application to follow a schema-first approach whether it is a server or client application.

Following classes can be generated based on your GraphQL schema:

  • Interfaces for GraphQL queries, mutations and subscriptions.
  • Interfaces for GraphQL unions.
  • POJO classes for GraphQL types and inputs.
  • Enum classes for GraphQL enums.
  • Interface Resolvers for GraphQL type fields (e.g. for parametrized fields).
  • Client Request classes for GraphQL queries, mutations and subscriptions.

Supported plugins

Contributing

Please see CONTRIBUTING.md.

Inspired by

swagger-codegen

About

Make your GraphQL Java application schema-driven!

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 89.9%
  • Scala 6.8%
  • FreeMarker 3.3%