11<script setup lang="ts">
22import { Modal } from ' bootstrap' ;
33import { computed , ref , useTemplateRef , type PropType } from ' vue' ;
4- import SourceView from ' ../SourceView.vue' ;
54
65const props = defineProps ({
76 parameters: { type: Object as PropType <HttpEventParameter []>, required: true },
@@ -63,10 +62,10 @@ function openDialog(p: HttpEventParameter) {
6362 <thead >
6463 <tr >
6564 <th scope =" col" style =" width :40px " v-if =" useValueSwitcher" ></th >
66- <th scope =" col" class =" text-left w-20 " >Name </th >
67- <th scope =" col" class =" text-left" style = " width : 100 px ; " >Type </th >
68- <th scope =" col" class =" text-center " style = " width : 130 px ; " >OpenAPI </th >
69- <th scope =" col" class =" text-left " style = " width : 70 % " >Value </th >
65+ <th scope =" col" class =" text-left col-1 " >Type </th >
66+ <th scope =" col" class =" text-left col-3 " >Name </th >
67+ <th scope =" col" class =" text-left col " >Value </th >
68+ <th scope =" col" class =" text-center col-2 " >OpenAPI Defined </th >
7069 </tr >
7170 </thead >
7271 <tbody >
@@ -78,10 +77,10 @@ function openDialog(p: HttpEventParameter) {
7877 <i v-else class =" bi bi-code" title =" Show raw value" ></i >
7978 </button >
8079 </td >
81- <td class =" align-middle" >{{ p.name }}</td >
8280 <td class =" align-middle" >{{ p.type }}</td >
83- <td class =" text-center align-middle" >{{ p.value ? 'yes' : 'no' }}</td >
81+ <td class =" align-middle" >{{ p.name }}</td >
8482 <td class =" align-middle text-truncate" >{{ p.value ? (showRaw[p.name] ? p.raw : p.rendered) : p.raw }}</td >
83+ <td class =" text-center align-middle" >{{ p.value ? 'true' : 'false' }}</td >
8584 </tr >
8685 </tbody >
8786 </table >
0 commit comments