Skip to content

AgentCard Producer generates wrong Agent Card Json #945

Description

@mescaja

i have created a Quarkus app with 2 AgentCardProducer classes.

To reproduce this issue, download the app folder

cd <folder>//agentcard-reproducer
./mvnw quarkus:dev

go to

http://localhost:8080/binance/.well-known/agent-card.json
http://localhost:8080/github/.well-known/agent-card.json

going through the output, this bit looks not right

 "securitySchemes": {
    "oidc": {
      "openIdConnectUrl": "https://keycloak.tst/realms/wanaku/.well-known/openid-configuration",
      "description": "OIDC authentication"
    }
  },

it should be

 "securitySchemes": {
    "oidc": {
      "openIdConnectSecurityScheme": {
        "openIdConnectUrl": "https://keycloak.tst/realms/wanaku/.well-known/openid-configuration",
        "description": "OIDC authentication"
      }
    }

Also this bit

"supportedInterfaces": [
    {
      "protocolBinding": "JSONRPC",
      "url": "http://localhost:11001",
      "tenant": null,
      "protocolVersion": "1.0"
    }
  ],
  "signatures": null,
  "url": null,
  "preferredTransport": "JSONRPC",
  "additionalInterfaces": null
}

should be

"supportedInterfaces": [
    {
      "protocolBinding": "JSONRPC",
      "url": "http://localhost:11001",
      "protocolVersion": "1.0"
    }
  ],
  "preferredTransport": "JSONRPC"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions