requestBody is not displayed
On a post type endpoint, the schema of the requestBody is not being displayed.
Expected:
requestBody content is displayed.
Actual:
requestBody content is being ignored.
This sounds like a bug. Do you mind sharing your OpenAPI definition and maybe a screenshot?
Here is the requestBody of an endpoint:

Here is the output missing the requestBody:

Okay, I think the issue here is that we don’t support “allOf” yet. I’ll look into seeing what that entails
@simranbentel do you mind testing to see if PR #96 fixes your request body issue?
@simranbentel do you mind testing to see if PR #96 fixes your request body issue?
Cloned your fork and checked out the branch. Works! RequestBody now displays for me. Thanks!
@bourdakos1 I found a bug remaining with this issue. In the endpoints that use allOf, the ApiDemoPanel is not able to determine required RequestBody options. The current logic determines the body as optional always.

@simranbentel I am unable to reproduce the issue. The following OpenAPI definition:
openapi: 3.0.3
info:
title: "Issue #91"
version: 1.0.0
paths:
/example:
post:
summary: Issue a new invoice
description: Only fiat currencies which are available for the ...
requestBody:
required: true
description: New invoice request
content:
application/json:
schema:
allOf:
- $ref: "#/components/schemas/CreateInvoiceReq"
responses:
200:
description: OK
components:
schemas:
CreateInvoiceReq:
type: object
properties:
code:
type: integer
format: int32
type:
type: string
message:
type: string
Renders the following demo panel:

Hi @bourdakos1, seems like anyOf/oneOf is not supported either. It's very similar to this issue that I decided to just comment here instead of opening a new issue (let me know if you'd prefer otherwise).
There is an example in the official examples: https://docusaurus-openapi.netlify.app/petstore/get-user-by-user-name/ where the pet is using oneOf and it is not rendering anything:

Would it be possible to "hack" a solution to support these two as well, like you did for the allOf?