Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
polamoros committed Apr 15, 2024
1 parent 247baaa commit 7ed1cef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/wing-console/console/ui/src/ui/api-interaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,13 @@ export const ApiInteraction = memo(
method,
openApiSpec,
);
setBody(JSON.stringify(bodyFromSpec, undefined, 2));
setBodyPlaceholder(JSON.stringify(bodyFromSpec, undefined, 2));
},
[
openApiSpec,
setHeaders,
setBodyPlaceholder,
setBody,
setQueryParameters,
setPathVariables,
queryParameters,
Expand Down

0 comments on commit 7ed1cef

Please sign in to comment.