Documentation ¶
Index ¶
- Constants
- func ExtractInterfaceOfMap(data interface{}) (bool, map[string]interface{})
- func ExtractSecurityRequirementKey(input openapi3.SecurityRequirement) string
- func IsDataExistInArray(array interface{}, key interface{}) bool
- func IsParameterExist(params openapi3.Parameters, paramType string) bool
Constants ¶
View Source
const ( // ParamHeader is header ParamHeader = "header" // ParamQuery is query ParamQuery = "query" )
Variables ¶
This section is empty.
Functions ¶
func ExtractInterfaceOfMap ¶
ExtractInterfaceOfMap retrieves interface-based data with structure of hashmap
func ExtractSecurityRequirementKey ¶
func ExtractSecurityRequirementKey(input openapi3.SecurityRequirement) string
ExtractSecurityRequirementKey retrieves the initial security key
func IsDataExistInArray ¶
func IsDataExistInArray(array interface{}, key interface{}) bool
IsDataExistInArray works to check whether particular key exists on array or not
func IsParameterExist ¶
func IsParameterExist(params openapi3.Parameters, paramType string) bool
IsParameterExist works to check the existency of particular param type on list of parameter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.