Responses

sttp.apispec.openapi.Responses
See theResponses companion object
final case class Responses(responses: ListMap[ResponsesKey, ReferenceOr[Response]], extensions: ListMap[String, ExtensionValue])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addDefault(response: Response): Responses
def addExtension(key: String, value: ExtensionValue): Responses
def addResponse(status: Int, response: Response): Responses
def extensions(updated: ListMap[String, ExtensionValue]): Responses

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product