Skip to content

Commit

Permalink
fix: fix broken protocol version api specification
Browse files Browse the repository at this point in the history
  • Loading branch information
bscholtes1A committed Dec 18, 2024
1 parent 45fa080 commit 25b1d60
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ public interface ProtocolVersionApiV4alpha {

@Operation(
requestBody = @RequestBody(content = @Content(schema = @Schema(implementation = ProtocolVersionRequestSchema.class))),
responses = { @ApiResponse(
responses = {@ApiResponse(
content = @Content(
mediaType = "application/json",
schema = @Schema(implementation = ProtocolVersionSchema.class)
),
description = "Gets supported protocol versions of a single connector") }
description = "Gets supported protocol versions of a single connector")}
)
void requestProtocolVersionV4alpha(JsonObject request, @Suspended AsyncResponse response);

Expand Down Expand Up @@ -70,7 +70,7 @@ record ProtocolVersionRequestSchema(
""";
}

@Schema(name = "Protocol Version", description = "Protocol Version", example = ProtocolVersionSchema.PROTOCOL_VERSION_EXAMPLE)
@Schema(name = "ProtocolVersion", description = "Protocol Version", example = ProtocolVersionSchema.PROTOCOL_VERSION_EXAMPLE)
record ProtocolVersionSchema(
) {
public static final String PROTOCOL_VERSION_EXAMPLE = """
Expand Down

0 comments on commit 25b1d60

Please sign in to comment.