Response

sttp.apispec.openapi.Response
See theResponse companion object
final case class Response(description: String, headers: ListMap[String, ReferenceOr[Header]], content: ListMap[String, MediaType], links: ListMap[String, ReferenceOr[Link]], 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 addExtension(key: String, value: ExtensionValue): Response
def addHeader(key: String, header: Header): Response
def addMediaType(contentType: String, updated: MediaType): Response
def content(updated: ListMap[String, MediaType]): Response
def description(updated: String): Response
def extensions(updated: ListMap[String, ExtensionValue]): Response
def headers(updated: ListMap[String, ReferenceOr[Header]]): Response

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product