fix parameter scalars to be lowercase

This commit is contained in:
Lukas Schmierer 2021-10-04 12:11:36 +02:00
parent f0997bc0c0
commit 6981e75765
2 changed files with 58 additions and 58 deletions

View File

@ -409,7 +409,7 @@ public class GraphQLSchemaGenerator {
private void generateSearchParamType(BufferedWriter writer, String name) throws IOException, FHIRException { private void generateSearchParamType(BufferedWriter writer, String name) throws IOException, FHIRException {
String gqlName = getGqlname(name); String gqlName = getGqlname(name);
if (gqlName.equals(name)) { if (gqlName.equals(name)) {
writer.write("Scalar "); writer.write("scalar ");
writer.write(name); writer.write(name);
writer.write(" # JSON Format: String"); writer.write(" # JSON Format: String");
} else { } else {

View File

@ -413,7 +413,7 @@ public class GraphQLSchemaGenerator {
private void generateSearchParamType(BufferedWriter writer, String name) throws IOException, FHIRException { private void generateSearchParamType(BufferedWriter writer, String name) throws IOException, FHIRException {
String gqlName = getGqlname(name); String gqlName = getGqlname(name);
if (gqlName.equals(name)) { if (gqlName.equals(name)) {
writer.write("Scalar "); writer.write("scalar ");
writer.write(name); writer.write(name);
writer.write(" # JSON Format: String"); writer.write(" # JSON Format: String");
} else { } else {