diff --git a/openapi.yaml b/openapi.yaml index 346bd5f..42e4860 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -12,6 +12,11 @@ paths: operationId: Example parameters: - $ref: "#/components/parameters/HeaderParam" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExampleBody' responses: '200': description: example @@ -24,3 +29,9 @@ components: schema: type: string responses: {} + schemas: + ExampleBody: + type: object + properties: + field: + type: string