ballerina-platform / ballerina-central

Ballerina Central Website
Apache License 2.0
104 stars 1 forks source link

[Improvement]: Display annotation regarding the kind should be available in the connector metadata #257

Open anupama-pathirage opened 1 month ago

anupama-pathirage commented 1 month ago

@LakshanSS cloned issue wso2-enterprise/ballerina-registry#1894 on 2022-11-14:

Related Area

Area/Connectors

Suggested improvement

Following is a record defined within a connector (ballerinax/openweathermap)


public type ApiKeysConfig record {|

    # Represents API Key `appid`

    @display {label: "", kind: "password"}

    string appid;

|};

https://github.com/ballerina-platform/openapi-connectors/blob/331a656907cc680fb04372bd0b24a65c54b07c80/openapi/openweathermap/types.bal#L76

The display annotation regarding the kind should be available in the connector metadata

https://api.dev-central.ballerina.io/2.0/registry/connectors/16672

Currently it looks like this

image