-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
docs(postman): update rustman and collection generation docs #3615
Conversation
@@ -26,10 +26,11 @@ This directory contains the Postman collection for all Hyperswitch supported con | |||
|
|||
- Make sure that you update the `tests` section where the necessary `javascript` code has to written/updated to test the feature (assertion checks where you verify the results obtained with the expected outcome) | |||
- If certain `tests` need to be run at the time of making a request, make sure you add them to the `Pre-request Script` section of the request | |||
- Make sure that the request body does not contain any comments else the `newman dir-export` command will fail which is used to export the collection to its directory structure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Postman does allow using JSON comments in request bodies though:
https://blog.postman.com/introducing-support-for-json-comments-in-request-body/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but the dir-export
command fails. Might have to check with @knutties to fix it.
Type of Change
Description
This PR updates the
Rustman
documentation easing the collection development process along with the things to look for before running the collection.Closes #3616
Additional Changes
Motivation and Context
The documentation misses some key points which is why some of the developers and contributors are finding it difficult to test their work.
How did you test it?
Below 2 files look cleaner and clearer:
Checklist
cargo +nightly fmt --all
cargo clippy