Record - openapi : requestBody

Model for additional OpenAPI request body details.

Fields

  • description string
  • Brief description of the request body

  • required boolean false
  • Determines if the request body is required in the request

  • example string
  • Example of the request body media type

  • examples Example[] []
  • Examples of the media type

  • schema Schema {}
  • The schema defining the type used for the request body

  • encoding Encoding[] []
  • Encoding and content type details