Companion

object Companion

Functions

Link copied to clipboard
fun inputsOf(manifest: Manifest, schema: String): List<CommandInput>?

The inputs of the body schema names, or null when it is not flat. A read-only property, a computed one the service writes and never reads, is no input: the form offers no field for it, required or not.

Link copied to clipboard

The commands of reference's aggregate in manifest a row offers, with their inputs: those that create nothing, are no mounted, system or internal command and take a flat body. An internal command (@InternalCommand) is the owning service's own, which its public port answers 404.

Link copied to clipboard
fun statusOf(manifest: Manifest, code: String): Int

The HTTP status code is answered with: as manifest or the framework declares it, else a rejection's.