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

Support example responses for GET requests #78

Open
jlengrand opened this issue Feb 26, 2024 · 1 comment
Open

Support example responses for GET requests #78

jlengrand opened this issue Feb 26, 2024 · 1 comment

Comments

@jlengrand
Copy link
Contributor

This is a followup from #77

At the moment, only POST requests with a request body are supported and will see their example responses extracted.

The reason is that the PostmanRequestItem creation getPostmanRequests method only contains id in the case where codegenOperation.bodyParam isn't null.

This needs to be improved (but can be done just a bit later, since currently our GET requests don't contain example responses.

@jlengrand
Copy link
Contributor Author

thinking again, I wonder if we need to do this now, for the Adyen generator @gcatanese ?

I feel like this should be done in the generic generator first, and then adapted for Adyen needs but today we won't get examples for GET requests will we?

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