kompendium
2.0.1
2.0.3 2.0.2 2.0.1

# LocationMethodParser

object LocationMethodParser : IMethodParser
Content copied to clipboard

## Types

LocationBaseInfo
Link copied to clipboard
data class LocationBaseInfo (op: PathOperation , feature: Kompendium , path: String )
Content copied to clipboard

## Functions

calculateLocationPath
Link copied to clipboard
fun KClass <*>. calculateLocationPath (suffix: String = ""): String
Content copied to clipboard
calculateRoutePath
Link copied to clipboard
open fun Route. calculateRoutePath (): String
Content copied to clipboard
defaultValueInjector
Link copied to clipboard
open fun defaultValueInjector (param: KParameter ): Any
Content copied to clipboard
getDefaultParameterValue
Link copied to clipboard
open fun getDefaultParameterValue (clazz: KClass <*>, prop: KProperty <*>): Any ?
Content copied to clipboard
mapToSpec
Link copied to clipboard
open fun Set < ParameterExample >. mapToSpec (parameterName: String ): Map < String , Parameter.Example >?
Content copied to clipboard
parseExceptions
Link copied to clipboard
open fun parseExceptions (exceptionInfo: Set < ExceptionInfo <*>>, feature: Kompendium ): Map < Int , Response >
Content copied to clipboard
parseMethodInfo
Link copied to clipboard
open fun parseMethodInfo (info: MethodInfo <*, *>, paramType: KType , requestType: KType , responseType: KType , feature: Kompendium ): PathOperation
Content copied to clipboard
parseResponse
Link copied to clipboard
open fun parseResponse (responseType: KType , responseInfo: ResponseInfo <*>?, feature: Kompendium ): Map < Int , Response >
Content copied to clipboard
processBaseInfo
Link copied to clipboard
inline fun < TParam : Any > processBaseInfo (paramType: KType , requestType: KType , responseType: KType , info: MethodInfo <*, *>, route: Route): LocationMethodParser.LocationBaseInfo
Content copied to clipboard
resolveContent
Link copied to clipboard
open fun Kompendium . resolveContent (type: KType , mediaTypes: List < String >, examples: Map < String , Any >): Map < String , MediaType >?
Content copied to clipboard
toParameter
Link copied to clipboard
open fun KProperty <*>. toParameter (info: MethodInfo <*, *>, parentType: KType , parentClazz: KClass <*>, feature: Kompendium ): Parameter
Content copied to clipboard
toParameterSpec
Link copied to clipboard
open override fun KType . toParameterSpec (info: MethodInfo <*, *>, feature: Kompendium ): List < Parameter >
Content copied to clipboard
toRequestSpec
Link copied to clipboard
open fun KType . toRequestSpec (requestInfo: RequestInfo <*>?, feature: Kompendium ): Request ?
Content copied to clipboard
toResponseSpec
Link copied to clipboard
open fun KType . toResponseSpec (responseInfo: ResponseInfo <*>?, feature: Kompendium ): Pair < Int , Response >?
Content copied to clipboard