Skip to content

Commit

Permalink
fix: fix broken protocol version api specification (#4681)
Browse files Browse the repository at this point in the history
  • Loading branch information
bscholtes1A authored Dec 19, 2024
1 parent 45fa080 commit c530bcf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[
{
"version": "3.0.3",
"version": "3.0.4",
"urlPath": "/v3",
"lastUpdated": "2024-07-12T10:14:00Z",
"lastUpdated": "2024-12-19T10:14:00Z",
"maturity": "stable"
},
{
Expand Down
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 c530bcf

Please sign in to comment.