@scalar/api-reference 1.24.44 → 1.24.45
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/CHANGELOG.md
CHANGED
|
@@ -26041,8 +26041,11 @@ null!=e&&e.id&&(o.value=e.id)}
|
|
|
26041
26041
|
}),O=ma((()=>n.value?n.value.body.formData&&n.value.body.formData.value.length>0?"multipartForm":n.value.body.raw&&""!==n.value.body.raw.value.trim()?n.value.body.raw.encoding:o.value:"none"))
|
|
26042
26042
|
;return"none"!==O.value&&(o.value=O.value),ii(O,(e=>{e&&(o.value=e)}),{
|
|
26043
26043
|
immediate:!0}),ii(o,(e=>{
|
|
26044
|
-
("multipartForm"===e||"formUrlEncoded"===e)&&0===u.value.length&&d()
|
|
26045
|
-
|
|
26044
|
+
("multipartForm"===e||"formUrlEncoded"===e)&&0===u.value.length&&d(),(e=>{
|
|
26045
|
+
let t="raw"
|
|
26046
|
+
;t="multipartForm"===e||"formUrlEncoded"===e?"formData":"binaryFile"===e?"binary":"raw",
|
|
26047
|
+
r.edit(n.value.uid,"body.activeBody",t)})(e)}),{immediate:!0
|
|
26048
|
+
}),(e,t)=>(Pi(),Ii(Ste,null,{title:kr((()=>[zi(it(e.title),1)])),
|
|
26046
26049
|
default:kr((()=>[e.body&&0===e.body.length&&e.formData&&0===e.formData.length?(Pi(),
|
|
26047
26050
|
$i("div",Zve,Hve)):e.formData&&e.formData.length>0?(Pi(),$i(_i,{key:1
|
|
26048
26051
|
},[],64)):(Pi(),Ii(Vte,{key:2,columns:[""]},{default:kr((()=>[ji(Xte,null,{
|