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

Take in account application/merge-patch+json content type #198

Open
sneko opened this issue Sep 6, 2023 · 0 comments
Open

Take in account application/merge-patch+json content type #198

sneko opened this issue Sep 6, 2023 · 0 comments

Comments

@sneko
Copy link

sneko commented Sep 6, 2023

Hi,

I do have body parameters into my Swagger UI and my openapi.json for patch operations, but the TS generator seems to skip them.

I'm wondering if it's due due to content type application/merge-patch+json not being handled. Any workaround on your side for this?

Here an extract of the openapi.json:

                "requestBody": {
                    "description": "The updated Intervention resource",
                    "content": {
                        "application/merge-patch+json": {
                            "schema": {
                                "$ref": "#/components/schemas/Intervention-intervention.patch"
                            }
                        }
                    },
                    "required": true
                },

Thank you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant