C# Class Hapikit.OpenApiDocument

显示文件 Open project: hapikit/hapikit.net

Public Methods

Method Description
AddPath ( string path, Action configure = null ) : Path
OpenApiDocument ( ) : Newtonsoft.Json.Linq
ToString ( ) : string

Private Methods

Method Description
OpToJObject ( Operation op ) : Newtonsoft.Json.Linq.JObject
PathToJObject ( Path p ) : Newtonsoft.Json.Linq.JObject

Method Details

AddPath() public method

public AddPath ( string path, Action configure = null ) : Path
path string
configure Action
return Path

OpenApiDocument() public method

public OpenApiDocument ( ) : Newtonsoft.Json.Linq
return Newtonsoft.Json.Linq

ToString() public method

public ToString ( ) : string
return string