Package-level declarations

Types

Link copied to clipboard
data class ApiEdge(val source: String, val target: String, val relations: List<String>, val functions: List<String>)

Represents an edge between to nodes of an ApiGraph.

Link copied to clipboard
data class ApiGraph(val nodes: List<ApiNode>, val edges: List<ApiEdge>)

Represents a graph consisting of ApiNodes and ApiEdges.

Link copied to clipboard
data class ApiNode(val name: String, val relations: List<String>, val constants: List<String>)

Represents a node of an ApiGraph.

Link copied to clipboard

Result that either contains a ResponseEntity with the given type or a ResponseEntity containing a TranslationDTO for error messages.

Link copied to clipboard
data class ApiToken(val token: String, val expiryDate: Long)
Link copied to clipboard

Represents the feedback-selection of a ModelChecking request.

Link copied to clipboard
Link copied to clipboard
data class ResponseEntity<T : Any>(val status: HttpStatusCode, val data: T)
Link copied to clipboard
data class TranslationDTO(val key: String, val params: Map<String, String>? = null)

Data transfer object for translations with optional parameters.

Functions

Link copied to clipboard
Link copied to clipboard
fun <T : Any> created(data: T): ResponseEntity<T>
Link copied to clipboard
Link copied to clipboard
fun <T : Any> ok(data: T): ResponseEntity<T>
Link copied to clipboard

Attempts to create a domain Graph from an ApiGraph or returns an error if it is invalid.

Link copied to clipboard
Link copied to clipboard