def METHOD_NAME(self) -> dict[str, t.Any]:
    return {
        "content": {
            self._mime_type: MediaType(
                schema=self.openapi_schema(), example=self.openapi_example()
            )
        },
        "required": True,
        "x-bentoml-io-descriptor": self.to_spec(),
    }