chagne codegen type to schema (#7775)

This commit is contained in:
William Cheng
2020-10-21 18:56:56 +08:00
committed by GitHub
parent 240c046f35
commit ee3dd70636
3 changed files with 4 additions and 4 deletions

View File

@@ -140,13 +140,13 @@ The following generators are available:
## SCHEMA generators
* [avro-schema (beta)](generators/avro-schema.md)
* [graphql-schema](generators/graphql-schema.md)
* [mysql-schema](generators/mysql-schema.md)
* [protobuf-schema (beta)](generators/protobuf-schema.md)
## CONFIG generators
* [apache2](generators/apache2.md)
* [graphql-schema](generators/graphql-schema.md)
* [protobuf-schema (beta)](generators/protobuf-schema.md)

View File

@@ -32,7 +32,7 @@ public class GraphQLSchemaCodegen extends AbstractGraphQLCodegen implements Code
@Override
public CodegenType getTag() {
return CodegenType.CONFIG;
return CodegenType.SCHEMA;
}
public String getName() {

View File

@@ -50,7 +50,7 @@ public class ProtobufSchemaCodegen extends DefaultCodegen implements CodegenConf
@Override
public CodegenType getTag() {
return CodegenType.CONFIG;
return CodegenType.SCHEMA;
}
public String getName() {