val_town_openapi
HTTP (deprecated)
v1
Preview
1
2
3
4
5
6
7
8
9
10
11
import
{
blob
}
from
"https://esm.town/v/std/blob?v=12"
;
export
default
async
function
(
)
{
const
resp
=
await
blob
.
get
(
"openapi.yaml"
)
return
new
Response
(
resp
.
body
,
{
headers
:
{
"Content-Type"
:
"text/yaml"
,
}
}
)
}
Preview