Skip to content

Commit ba9cd81

Browse files
committed
use jsonc in code blocks
Signed-off-by: Adam Ludes <adam.ludes@whalebone.io>
1 parent 2466739 commit ba9cd81

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ Since query parameters can be used more than once, they are stored in an array a
592592

593593
Here is an example that includes query parameters gopherColor and gopherAge in the response, one of which can be used more than once:
594594

595-
````json
595+
````jsonc
596596
// expects a request to, for example, GET /gophers/bca49e8a-82dd-4c5d-b886-13a6ceb3744b?gopherColor=Blue&gopherColor=Purple&gopherAge=42
597597
[
598598
{
@@ -621,7 +621,7 @@ This example also showcases the functions `timeNow`, `timeUTC`, `timeAdd`, `time
621621

622622
Here is an example that includes the request body in the response:
623623

624-
````json
624+
````jsonc
625625
// imposters/gophers.imp.json
626626
[
627627
{
@@ -647,7 +647,7 @@ Here is an example that includes the request body in the response:
647647
}
648648
]
649649
````
650-
````tmpl
650+
````jsonc
651651
// responses/create_gopher_response.json.tmpl
652652
{
653653
"data": {
@@ -665,7 +665,7 @@ Here is an example that includes the request body in the response:
665665
}
666666

667667
````
668-
````json
668+
````jsonc
669669
// request body to POST /gophers/bca49e8a-82dd-4c5d-b886-13a6ceb3744b?gopherColor=Blue&gopherColor=Purple&gopherAge=42
670670
{
671671
"data": {

0 commit comments

Comments
 (0)