You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m generating a TypeScript SDK from my OpenAPI/Swagger specification, and I’m encountering this warning for a particular endpoint:
WARN skipping: /some-endpoint {"error":"unsupported: request bodies are not supported for GET operations in {typescript typescriptv2 } clients (line 20)"}
This endpoint uses HTTP GET with a request body, which is currently being skipped during the generation process. While this is admittedly unusual in most APIs, we do rely on this behavior. Here is the example of such an request used with other project
Question:
Is there a way to configure or modify the generator so it doesn’t automatically skip GET endpoints that include a body ?
In attachment you can see example file to repro.
Any guidance or suggestions for a workaround would be greatly appreciated.
Hi maintainers,
I’m generating a TypeScript SDK from my OpenAPI/Swagger specification, and I’m encountering this warning for a particular endpoint:
This endpoint uses HTTP GET with a request body, which is currently being skipped during the generation process. While this is admittedly unusual in most APIs, we do rely on this behavior. Here is the example of such an request used with other project
Question:
Is there a way to configure or modify the generator so it doesn’t automatically skip GET endpoints that include a body ?
In attachment you can see example file to repro.
Any guidance or suggestions for a workaround would be greatly appreciated.
example_yml.txt
SPE-4671
The text was updated successfully, but these errors were encountered: