ApiSpecUiModel

data class ApiSpecUiModel(val specId: String, val name: String, val operations: PersistentList<OperationUiModel>)

UI model for a single OpenAPI spec — one tab in the Network Mock screen.

There is no environment axis: a spec's tab shows every operation declared in its document, regardless of which of the spec's declared servers the app currently talks to.

Constructors

Link copied to clipboard
constructor(specId: String, name: String, operations: PersistentList<OperationUiModel>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Human-readable display name, taken from the spec's info.title

Link copied to clipboard
val operations: PersistentList<OperationUiModel>

The operations declared in this spec, with their current mock states

Link copied to clipboard