All Projects → kobylynskyi → graphql-java-codegen

kobylynskyi / graphql-java-codegen

Licence: MIT license
Make your GraphQL Java application schema-driven.

Programming Languages

java
68154 projects - #9 most used programming language
FreeMarker
481 projects
scala
5932 projects

Projects that are alternatives of or similar to graphql-java-codegen

graphql-java-codegen-gradle-plugin
Gradle plugin for graphql-java-codegen
Stars: ✭ 19 (-88.62%)
Mutual labels:  codegen, graphql-java
graphql-codegen-vscode
vscode extension which runs graphql-codegen whenever you save a query/mutation
Stars: ✭ 41 (-75.45%)
Mutual labels:  codegen, graphql-codegen
graphql-codegen-apollo-next-ssr
Autogenerate apollo code for nextjs ssr
Stars: ✭ 176 (+5.39%)
Mutual labels:  codegen, graphql-codegen
d2a
A translator Django into SQLAlchemy.
Stars: ✭ 23 (-86.23%)
Mutual labels:  codegen
startle
Startle C Library
Stars: ✭ 15 (-91.02%)
Mutual labels:  codegen
cmake-reflection-template
A template for simple C++ reflection done with CMake and Python (no other external tools)
Stars: ✭ 37 (-77.84%)
Mutual labels:  codegen
sbt-guardrail
Principled code generation from OpenAPI specifications
Stars: ✭ 24 (-85.63%)
Mutual labels:  codegen
rosetta
Easy to use Rust i18n library based on code generation
Stars: ✭ 37 (-77.84%)
Mutual labels:  codegen
DotNetJS
Consume C# in JavaScript with comfort: single-file UMD library, auto-generated 2-way bindings and type definitions
Stars: ✭ 551 (+229.94%)
Mutual labels:  codegen
ogen
OpenAPI v3 code generator for go
Stars: ✭ 436 (+161.08%)
Mutual labels:  codegen
gqty
a GraphQL client built for rapid iteration
Stars: ✭ 420 (+151.5%)
Mutual labels:  codegen
vertx-graphql-example
Vert.x Server which exposes a GraphQL API
Stars: ✭ 29 (-82.63%)
Mutual labels:  graphql-java
butte
No description or website provided.
Stars: ✭ 69 (-58.68%)
Mutual labels:  codegen
domainrobot-api
Swagger documentation for different APIs powered by InterNetX GmbH.
Stars: ✭ 14 (-91.62%)
Mutual labels:  codegen
qpmodel
A Relational Optimizer and Executor
Stars: ✭ 54 (-67.66%)
Mutual labels:  codegen
kubernate
Kubernetes+Generate = Kubernate❤️
Stars: ✭ 96 (-42.51%)
Mutual labels:  codegen
graphql-ts-client
Typescript DSL for GraphQL.
Stars: ✭ 124 (-25.75%)
Mutual labels:  codegen
codegen
Generator for dart_native bindings. Codegen can transform native SDK to Flutter plugin.
Stars: ✭ 75 (-55.09%)
Mutual labels:  codegen
TypedocConverter
This is a typedoc json to C# type bindings converter. Can be used as a TypeScript to C# bindings converter.
Stars: ✭ 89 (-46.71%)
Mutual labels:  codegen
aws-mobile-appsync-sdk-android
Android SDK for AWS AppSync.
Stars: ✭ 101 (-39.52%)
Mutual labels:  codegen

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.
  • Interfaces for GraphQL type fields (e.g. for parametrized fields) aka "Resolvers".
  • Client Request classes for GraphQL queries, mutations and subscriptions.

Features

  • Generate classes in Java, Kotlin or Scala.
  • Recursive schemas lookup by file name pattern.
  • Generate code based on GraphQL schema or GraphQL Query Introspection Result.
  • Generate POJOs with or without: Builder pattern, immutable fields, toString(), equals() and hashCode(), etc.
  • Flexible API interfaces naming conventions (based on schema file name, folder name, etc.)
  • Custom java package names for model and API classes.
  • Custom prefix/suffix for model, API, type resolver, request, response classes.
  • Custom annotations for generated classes (e.g.: validation annotations for generated model classes or specific type fields, annotations for GraphQL directives, etc.)
  • Relay support.
  • Ability to define codegen configuration via external json file.

For the full list of codegen configs please refer to: Codegen Options

Supported plugins

Contributing

Please see CONTRIBUTING.md.

Inspired by

swagger-codegen

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].