MetadataSourceCreateSpec

The SourceCreateSpec structure contains the registration information for a metadata source.


Properties

string as uri
address Optional

Connection information of the remote server. This should be of the format http(s)://IP:port/namespace. The remote server should contain the services in com.vmware.vapi.metadata.metamodel package. It could expose metamodel information of one or more components.

This field is optional and it is only relevant when the value of SourceCreateSpec.type is REMOTE.


string
description Required

English language human readable description of the source.


string
filepath Optional

Absolute file path of the metamodel metadata file that has the metamodel information about one component element. This field is optional and it is only relevant when the value of SourceCreateSpec.type is FILE.


type Required

The SourceType enumerated type defines the types of sources for API metadata. You specify the type of source when adding a metadata source to a metadata service.
FILE : Indicates the metadata source is a JSON file.
REMOTE : Indicates the metadata source is a remote server.

Possible values are: FILEREMOTE

JSON Example

{
	"description": "string",
	"type": "FILE"
}

Feedback

Was this page helpful?