Share via


ODataSwaggerConverter Class

Definition

QualityBand : Preview

Represents an ODataSwaggerConverter used to converter an Edm model to Swagger model.
public class ODataSwaggerConverter
type ODataSwaggerConverter = class
Public Class ODataSwaggerConverter
Inheritance
ODataSwaggerConverter

Constructors

ODataSwaggerConverter(IEdmModel)

Initializes a new instance of the ODataSwaggerConverter class.

Properties

BasePath

Gets or sets the base path in the Swagger model.

EdmModel

Gets or sets the Edm model.

Host

Gets or sets the host in the Swagger model.

MetadataUri

Gets or sets the metadata Uri in the Swagger model.

SwaggerDocument

Gets the document in the Swagger.

SwaggerPaths

Gets the paths in the Swagger.

SwaggerTypeDefinitions

Gets the definitions in the Swagger.

SwaggerVersion

Gets the version of Swagger spec.

Methods

GetSwaggerModel()

Converts the Edm model to Swagger model.

InitializeContainer()

Initialize the entity container to Swagger model.

InitializeDocument()

Initialize the document of Swagger model.

InitializeEnd()

End to initialize the Swagger model.

InitializeOperations()

Initialize the operations to Swagger model.

InitializeStart()

Start to initialize the Swagger model.

InitializeTypeDefinitions()

Initialize the type definitions to Swagger model.

Applies to