api-render-ui 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api-render-ui.css +1 -0
- package/src/api-render-ui.ts +1 -1
- package/src/inlined-styles.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -293,6 +293,7 @@ var GLOBAL_STYLES = `.codigma-apioperatorlist {
|
|
|
293
293
|
align-self: stretch;
|
|
294
294
|
flex: 1 1 0;
|
|
295
295
|
min-height: 5rem;
|
|
296
|
+
flex-shrink: 0;
|
|
296
297
|
/* padding: 2px */
|
|
297
298
|
}
|
|
298
299
|
.codigma-apiunit-apioperator:hover {
|
|
@@ -1083,7 +1084,7 @@ function sendRequest(apiOperator, responseSectionRef) {
|
|
|
1083
1084
|
fetch(reuqestUrl, {
|
|
1084
1085
|
method: apiInfo.method.toUpperCase(),
|
|
1085
1086
|
headers,
|
|
1086
|
-
body,
|
|
1087
|
+
body: ["GET", "HEAD"].includes(apiInfo.method.toUpperCase()) ? null : body,
|
|
1087
1088
|
signal
|
|
1088
1089
|
}).then((response) => {
|
|
1089
1090
|
if (!response.ok) {
|