feat: types described, examples of registry
This commit is contained in:
parent
f85bd1d03f
commit
7a77314eaf
5 changed files with 40 additions and 22 deletions
40
examples/git.0ut0f.space/.well-known/wacli.json
Normal file
40
examples/git.0ut0f.space/.well-known/wacli.json
Normal file
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"api": "https://git.0ut0f.space/swagger.v1.json",
|
||||
"settings": {
|
||||
"auth": {
|
||||
"scheme": "bearer",
|
||||
"tokenName": "AuthorizationHeaderToken"
|
||||
},
|
||||
"aliases": [
|
||||
{
|
||||
"alias": "issues",
|
||||
"type": "path",
|
||||
"content": "/repos/{owner}/{repo}/issues"
|
||||
},
|
||||
{
|
||||
"alias": ["c","create"],
|
||||
"type": "method",
|
||||
"content": "POST"
|
||||
},
|
||||
{
|
||||
"alias": ["d","delete"],
|
||||
"type": "method",
|
||||
"content": "DELETE"
|
||||
},
|
||||
{
|
||||
"alias": "tea",
|
||||
"type": "bin",
|
||||
"content": "tea"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bin": {
|
||||
"linux": [{"x86": "https://dl.gitea.com/tea/main/tea-main-linux-amd64.xz"}],
|
||||
"windows": [{"x86": "https://dl.gitea.com/tea/main/tea-main-windows-amd64.xz"}],
|
||||
"darwin": [
|
||||
{"arm64": "https://dl.gitea.com/tea/main/tea-main-darwin-arm64"},
|
||||
{"x86": "https://dl.gitea.com/tea/main/tea-main-darwin-amd64.xz"}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue