Skip to content

Commit

Permalink
Conditional display of header Request (#719)
Browse files Browse the repository at this point in the history
Co-authored-by: Christian A. Mathiesen <christian@zaveit.no>
  • Loading branch information
chranmat and zitcam committed Mar 12, 2024
1 parent a3b467c commit f01a0d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function createApiPageMD({
: undefined,
createDeprecationNotice({ deprecated, description: deprecatedDescription }),
createDescription(description),
createRequestHeader("Request"),
requestBody || parameters ? createRequestHeader("Request") : undefined,
createParamsDetails({ parameters, type: "path" }),
createParamsDetails({ parameters, type: "query" }),
createParamsDetails({ parameters, type: "header" }),
Expand Down

0 comments on commit f01a0d8

Please sign in to comment.