Package com.networknt.codegen.graphql
Class GraphqlGenerator
- java.lang.Object
-
- com.networknt.codegen.graphql.GraphqlGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static String
FRAMEWORK
-
Fields inherited from interface com.networknt.codegen.Generator
jsonMapper, schemaMap, yamlMapper
-
-
Constructor Summary
Constructors Constructor Description GraphqlGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generate(String targetPath, Object schema, com.fasterxml.jackson.databind.JsonNode config)
String
getFramework()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.networknt.codegen.Generator
checkExist, getArtifactId, getConfigSchema, getDecryptOption, getDockerOrganization, getGroupId, getHandlerPackage, getHttpPort, getHttpsPort, getKafkaTopic, getModelPackage, getRootPackage, getServicePackage, getVersion, isBuildMaven, isEclipseIDE, isEnableHttp, isEnableHttp2, isEnableHttps, isEnableParamDescription, isEnableRegistry, isGenerateModelOnly, isKafkaConsumer, isKafkaProducer, isKafkaStreams, isMultipleModule, isOverwriteHandler, isOverwriteHandlerTest, isOverwriteModel, isPrometheusMetrics, isSkipPomFile, isSpecChangeCodeReGenOnly, isSupportAvro, isSupportClient, isSupportDb, isSupportH2ForTest, isUseLightProxy, setExecutable, transfer, transfer, transferGradle, transferMaven
-
-
-
-
Field Detail
-
FRAMEWORK
public static final String FRAMEWORK
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFramework
public String getFramework()
- Specified by:
getFramework
in interfaceGenerator
-
generate
public void generate(String targetPath, Object schema, com.fasterxml.jackson.databind.JsonNode config) throws IOException
- Specified by:
generate
in interfaceGenerator
- Throws:
IOException
-
-