Class RestMetadataInfo
Provides information about REST service located in metadata document, such as Swagger. This class is usually used during REST service import process to provide a brief endpoint information on UI.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Description
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class RestMetadataInfo
Constructors
RestMetadataInfo()
Declaration
public RestMetadataInfo()
Properties
Endpoints
Gets collection of endpoints defined in the metadata.
Declaration
[DataMember]
public Collection<RestEndpointInfo> Endpoints { get; }
Property Value
| Type | Description |
|---|---|
| Collection<RestEndpointInfo> |
Errors
Gets collection or errors and warnings encountered during the metadata import process.
Declaration
[DataMember]
public Collection<ErrorInfo> Errors { get; }
Property Value
| Type | Description |
|---|---|
| Collection<ErrorInfo> |
FileId
Gets or sets a metadata file identifier in the service session storage.
Declaration
[DataMember]
public int FileId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Operations
Gets the collection of operations defined in the metadata.
Declaration
[DataMember]
public Collection<RestOperationInfo> Operations { get; }
Property Value
| Type | Description |
|---|---|
| Collection<RestOperationInfo> |
ServiceName
Gets or sets the service name.
Declaration
[DataMember]
public string ServiceName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |