Package-level declarations
Types
Functions
Link copied to clipboard
Converts Tapik Status definitions into Spring HttpStatus instances.
Link copied to clipboard
fun <P : Parameters, I : Input<*, *>, O : Outputs> HttpEndpoint<P, I, O>.toResponseEntity(choice: OneOf): ResponseEntity<Any?>
Converts a Tapik OneOf response produced by an endpoint with multiple outputs into a Spring ResponseEntity.
fun <P : Parameters, I : Input<*, *>, O : Outputs> HttpEndpoint<P, I, O>.toResponseEntity(response: Response<*>): ResponseEntity<Any?>
Converts a Tapik Response produced by an endpoint with a single output into a Spring ResponseEntity.
fun <P : Parameters, I : Input<*, *>, O : Outputs> HttpEndpoint<P, I, O>.toResponseEntity(result: Any): ResponseEntity<Any?>
Converts an arbitrary Tapik response representation into a Spring ResponseEntity.
Link copied to clipboard