Skip to content

Commit

Permalink
change quote for curl examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Nov 11, 2024
1 parent 4cb9eb1 commit 5136741
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class RamlResourceRenderer constructor(val api: Api, val vrapTypeProvider: VrapT
HttpMethod.POST ->
"""
|curl$xParam ${baseUri}${r.fullUri.normalize().template}$queryParameters -i \\${if (addBearerToken) """
|--header 'Authorization: Bearer ${'$'}{BEARER_TOKEN}' \\""" else ""}
|--header "Authorization: Bearer ${'$'}{BEARER_TOKEN}" \\""" else ""}
|--header 'Content-Type: application/json' \\${if (headers.isNotEmpty()) """
|${headers.joinToString("\\\\\n")} \\""" else ""}
|--data-binary @- \<< DATA
Expand Down

0 comments on commit 5136741

Please sign in to comment.