Skip to content

Commit

Permalink
Fix(ArtifactContent): Add double-quotes to Avro schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rkubis committed Jan 14, 2025
1 parent d54a4e6 commit f4ef159
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
package io.apicurio.registry.systemtests.client;

public final class ArtifactContent {
public static final String DEFAULT_AVRO = "{" +
public static final String DEFAULT_AVRO = "\"{" +
"\\\"name\\\":\\\"price\\\"" + "," +
"\\\"namespace\\\":\\\"com.example\\\"" + "," +
"\\\"type\\\":\\\"record\\\"" + "," +
"\\\"fields\\\": [" +
"{\\\"name\\\":\\\"symbol\\\", \\\"type\\\":\\\"string\\\"}" + "," +
"{\\\"name\\\":\\\"price\\\", \\\"type\\\":\\\"string\\\"}" +
"]" +
"}";
public static final String DEFAULT_AVRO_PLAIN = "{" +
"}\"";
public static final String DEFAULT_AVRO_PLAIN = "\"{" +
"\"name\":\"price\"" + "," +
"\"namespace\":\"com.example\"" + "," +
"\"type\":\"record\"" + "," +
"\"fields\": [" +
"{\"name\":\"symbol\", \"type\":\"string\"}" + "," +
"{\"name\":\"price\", \"type\":\"string\"}" +
"]" +
"}";
public static final String DEFAULT_AVRO_UPDATED = "{\\\"key\\\":\\\"id\\\"}";
public static final String DEFAULT_AVRO_UPDATED_PLAIN = "{\"key\":\"id\"}";
"}\"";
public static final String DEFAULT_AVRO_UPDATED = "\"{\\\"key\\\":\\\"id\\\"}\"";
public static final String DEFAULT_AVRO_UPDATED_PLAIN = "\"{\"key\":\"id\"}\"";

public static final String DEFAULT_PROTOBUF = "syntax = \"proto3\";\n" +
"\n" +
Expand Down

0 comments on commit f4ef159

Please sign in to comment.