Class RequestBody

java.lang.Object
com.github.chhorz.openapi.common.domain.RequestBody

public class RequestBody extends Object
https://spec.openapis.org/oas/v3.1.0#request-body-object
Author:
chhorz
  • Constructor Details

    • RequestBody

      public RequestBody()
  • Method Details

    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getContent

      public Map<String,MediaType> getContent()
    • putContent

      public void putContent(String key, MediaType mediaType)
    • getRequired

      public Boolean getRequired()
    • setRequired

      public void setRequired(Boolean required)