Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix broken protocol version api specification #4681

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading