Skip to content

alexlorenzi/graphql-java-codegen

 
 

Repository files navigation

GraphQL Codegen

Build Discussions 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 85.2%
  • FreeMarker 7.6%
  • Scala 6.7%
  • Kotlin 0.5%