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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-render-ui",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "api-render-ui is a UI library that pursues simple and efficient data rendering for openapi.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -292,6 +292,7 @@
292
292
  align-self: stretch;
293
293
  flex: 1 1 0;
294
294
  min-height: 5rem;
295
+ flex-shrink: 0;
295
296
  /* padding: 2px */
296
297
  }
297
298
  .codigma-apiunit-apioperator:hover {
@@ -1136,7 +1136,7 @@ function sendRequest(apiOperator: any, responseSectionRef: any) {
1136
1136
  fetch(reuqestUrl, {
1137
1137
  method: apiInfo.method.toUpperCase(),
1138
1138
  headers: headers,
1139
- body: body,
1139
+ body: ['GET', 'HEAD'].includes(apiInfo.method.toUpperCase()) ? null : body,
1140
1140
  signal: signal
1141
1141
  })
1142
1142
  .then(response => {
@@ -293,6 +293,7 @@ export const 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 {