Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Generated request body don't support allOf parameter #680

Closed
frederikstonge opened this issue Nov 20, 2023 · 0 comments · Fixed by #682
Closed

[BUG] Generated request body don't support allOf parameter #680

frederikstonge opened this issue Nov 20, 2023 · 0 comments · Fixed by #682
Assignees
Labels
bug Something isn't working Triage needed

Comments

@frederikstonge
Copy link

Generated request body parameter is now a nullable object (Object?) instead of the actual type.

Example :

"requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ]
              }
            }
          }
        },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Triage needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants