GraphQL Java Generator

Java Class Generator for GraphQL Schema Files (Approach: Schema First)

License

License

Categories

Categories

IDE Development Tools Java Languages
GroupId

GroupId

services.videa
ArtifactId

ArtifactId

graphql-java-generator
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

GraphQL Java Generator
Java Class Generator for GraphQL Schema Files (Approach: Schema First)
Project Organization

Project Organization

Videa Project Services GmbH
Source Code Management

Source Code Management

https://github.com/videa-services/graphql-java-generator

Download graphql-java-generator

How to add to project

<!-- https://jarcasting.com/artifacts/services.videa/graphql-java-generator/ -->
<dependency>
    <groupId>services.videa</groupId>
    <artifactId>graphql-java-generator</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/services.videa/graphql-java-generator/
implementation 'services.videa:graphql-java-generator:1.1.1'
// https://jarcasting.com/artifacts/services.videa/graphql-java-generator/
implementation ("services.videa:graphql-java-generator:1.1.1")
'services.videa:graphql-java-generator:jar:1.1.1'
<dependency org="services.videa" name="graphql-java-generator" rev="1.1.1">
  <artifact name="graphql-java-generator" type="jar" />
</dependency>
@Grapes(
@Grab(group='services.videa', module='graphql-java-generator', version='1.1.1')
)
libraryDependencies += "services.videa" % "graphql-java-generator" % "1.1.1"
[services.videa/graphql-java-generator "1.1.1"]

Dependencies

compile (8)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.8
com.graphql-java : graphql-java jar 13.0
com.squareup : javapoet jar 1.11.1
org.springframework : spring-web jar 5.2.0.RELEASE
com.fasterxml.jackson.core : jackson-core jar 2.10.0
com.fasterxml.jackson.core : jackson-databind jar 2.10.0
ch.qos.logback : logback-classic jar 1.2.3
javax.validation : validation-api jar 2.0.1.Final

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

GraphQL Java Generator

This project is about generating Java classes and clients from GraphQL Schemas using the approach 'Schema First'.

For all defined GraphQL types being Scalars, Enums, Interfaces, Inputs, Types, Query and Mutation, the corresponding Java classes are generated.

The project uses Open Source 3rd Party projects to fulfill its goals.

CLI Usage

Command from command line:

java -jar services.videa.graphql.java.GqlJavaGenerator SCHEMA OUT_FOLDER PACKAGE

Example:

java -jar services.videa.graphql.java.GqlJavaGenerator schema.gql src/main/generated services.videa.graphql.java

Build Management

Perform a Release Deployment to OSSRH

gpg --keyserver hkp://pool.sks-keyservers.net --send-keys 2B3C7FC9D2D190F682A3EA90B74BC126F4A8760C

mvn release:clean release:prepare
mvn release:perform

Maven Usage

Maven Dependency

Central Repository: Nexus Repository Manager

<dependency>
  <groupId>services.videa</groupId>
  <artifactId>graphql-java-generator</artifactId>
  <version>1.0.0-SNAPSHOT</version>
</dependency>

Maven Plugin

Comming soon: graphql-java-maven-plugin

Release Notes

services.videa

Videa Project Services GmbH

Versions

Version
1.1.1
1.0.4
1.0.3