# multiple content types with different schemas

`POST /requestBody/multipleContentTypes`

Tags: `examples`

This endpoint accepts either JSON or XML with different schemas

## Servers

- `http://test.local:8080`: Local server

## Authentication

This operation requires:

- `BearerAuth` (HTTP bearer (JWT))

## Request body (required)

Example endpoint request

### Content type: `application/json`

Schema: `object`

- `example_request_json_param` (string, required, example: `json_value`)
  This field should only appear in JSON requests

### Content type: `application/xml`

Schema: `object`

- `example_request_xml_param` (string, required, example: `xml_value`)
  This field should only appear in XML requests

## Responses

### 200

Successful operation

#### Content type: `application/json`

Schema: `object`

- `example_response_param` (string, required, example: `response_value`)
  The example response parameter
