pub fn card_warnings(card: &AgentCard) -> Vec<String>Expand description
The problems card likely has, each a sentence naming the field and the
requirement; empty when there are none.
- an interface URL that is not absolute, or not
httpson a host other than loopback (a2a.protoAgentInterface.url: “Must be a valid absolute HTTPS URL in production”; spec §7.1); - a custom protocol binding that is not a URI (§5.8: it “SHOULD be a URI”);
- an HTTP authentication scheme not in the IANA registry (a2a.proto
HTTPAuthSecurityScheme.scheme: it “should be registered”); - an extension URI with no version in it (§4.6.3: extensions “SHOULD include version information in their URI”).