Skip to main content

PostmanExtensions

Assembly: ServiceStack.dll​
View Source​
Declaration
public static class PostmanExtensions

Methods​

ToPostmanPathVariables(String)​

View Source​
Declaration
public static string ToPostmanPathVariables(this string path)
Returns​

System.String

Parameters​
TypeName
System.Stringpath

AsFriendlyName(Type, PostmanFeature)​

View Source​
Declaration
public static string AsFriendlyName(this Type type, PostmanFeature feature)
Returns​

System.String

Parameters​
TypeName
System.Typetype
ServiceStack.PostmanFeaturefeature

ApplyPropertyTypes(List<PostmanData>, Dictionary<String, String>, String)​

View Source​
Declaration
public static List<PostmanData> ApplyPropertyTypes(this List<PostmanData> data, Dictionary<string, string> typeMap, string defaultValue = "")
Returns​

System.Collections.Generic.List<ServiceStack.PostmanData>

Parameters​
TypeName
System.Collections.Generic.List<ServiceStack.PostmanData>data
System.Collections.Generic.Dictionary<System.String,System.String>typeMap
System.StringdefaultValue

ApplyPropertyTypes(IEnumerable<String>, Dictionary<String, String>, String)​

View Source​
Declaration
public static Dictionary<string, string> ApplyPropertyTypes(this IEnumerable<string> names, Dictionary<string, string> typeMap, string defaultValue = "")
Returns​

System.Collections.Generic.Dictionary<System.String,System.String>

Parameters​
TypeName
System.Collections.Generic.IEnumerable<System.String>names
System.Collections.Generic.Dictionary<System.String,System.String>typeMap
System.StringdefaultValue