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
Type | Name |
---|---|
System.String | path |
AsFriendlyName(Type, PostmanFeature)
View Source
Declaration
public static string AsFriendlyName(this Type type, PostmanFeature feature)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Type | type |
ServiceStack.PostmanFeature | feature |
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
Type | Name |
---|---|
System.Collections.Generic.List<ServiceStack.PostmanData> | data |
System.Collections.Generic.Dictionary<System.String,System.String> | typeMap |
System.String | defaultValue |
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
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<System.String> | names |
System.Collections.Generic.Dictionary<System.String,System.String> | typeMap |
System.String | defaultValue |