forked from kimhyungsik/ax_hub_mcp_tool
fix: Enforce JSON property order for JsonRpcResponse
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
package io.shinhanlife.axhub.biz.mcp.adapter.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
// 2. 응답 DTO
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonPropertyOrder({"jsonrpc", "result", "error", "id"})
|
||||
public class JsonRpcResponse {
|
||||
public String jsonrpc = "2.0";
|
||||
public Object result;
|
||||
|
||||
Reference in New Issue
Block a user