vapi metadata cli source: info

The info structure contains the metadata source information.

Representation:

{
    "address""http://myurl.com",
    "filepath""string",
    "description""string",
    "type""FILE"
}

Attributes:

Name Type Description
Required
description string English language human readable description of the source.

type string The type (FILE, REMOTE) of the metadata source.

Defines the types of sources for API metadata. You specify the type of source when adding a metadata source to a metadata service. Value is one of:
FILE: Indicates the metadata source is a JSON file.
REMOTE: Indicates the metadata source is a remote server.

Optional
filepath string Absolute file path of the CLI metadata file that has the CLI information about one component. The filepath is the path to the file in the server's filesystem.

Optional. It is only relevant when type has value FILE. This field is optional and it is only relevant when the value of type is FILE.

address URI Connection information for the remote server. This should be in the format http(s)://IP:port/namespace.

The remote server must contain the services in the vapi.metadata.cli API. It must expose CLI information of one or more components.

Optional. It is only relevant when type has value REMOTE. This field is optional and it is only relevant when the value of type is REMOTE.