openapi: 3.0.0 info: title: Example of request body in 3.0 version: 1.0.0 paths: /opinions: post: requestBody: description: required: true content: text/plain: schema: type: string example: I think the V3 way is cleaner application/json: schema: type: string