Updated the HTML2 Doc Curl Examples to provide sample Request Body & Query Param examples.#10323
Conversation
…Query Param examples.
|
Note: I would have assumed samples/documentation/html2/index.html would have been modified by this change, but it doesn't seem like the sample was modified despite the fact I ran generate_samples.sh. |
|
Thanks for the PR but your commit (as shown in the Commits tab) is not linked to your Github account, which means this PR won't count as your contribution in https://github.com/OpenAPITools/openapi-generator/graphs/contributors. Let me know if you need help fixing it. |
Don't worry. We'll take a look. |
…Query Param examples.
…enerator into html2docs-curl-examples
|
Hopefully that fixes that for you, thanks. |
|
Yup, looks good now. Commits are correctly linked. |
Addressed the issue in #9384 where query strings in curl examples were not displaying their example values.
I also refactored the code out so that the curl example into its own mustache file, and provided the request body examples as well.
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
master(5.3.0),6.0.x