Hapikit.OpenApiDocument.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            var jObject = new JObject(new JProperty("swagger", "2.0"),
                            new JProperty("paths", new JObject(Paths.Select(
                                    p => new JProperty(p.Key, PathToJObject(p.Value))))));

            return jObject.ToString();
        }