RequestBody

sttp.apispec.openapi.RequestBody
See theRequestBody companion object
final case class RequestBody(description: Option[String], content: ListMap[String, MediaType], required: Option[Boolean], 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): RequestBody
def addMediaType(contentType: String, updated: MediaType): RequestBody
def content(updated: ListMap[String, MediaType]): RequestBody
def extensions(updated: ListMap[String, ExtensionValue]): RequestBody
def required(boolean: Boolean): RequestBody

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product