sdk: readable clients (no Empty wrapper, no unused error module), documented examples with tests

This commit is contained in:
2026-10-23 01:05:19 +01:00
parent edc2d1a63b
commit 0516158883
15 changed files with 426 additions and 81 deletions
+2 -12
View File
@@ -1,10 +1,6 @@
{
"components": {
"schemas": {
"Empty": {
"description": "Empty parameters for methods without arguments.",
"type": "object"
},
"StartParams": {
"description": "The server configuration.",
"properties": {
@@ -75,10 +71,7 @@
"type": "integer"
}
},
"summary": "Count the HTTP requests this server answered.",
"x-sausage-params": {
"$ref": "#/components/schemas/Empty"
}
"summary": "Count the HTTP requests this server answered."
},
{
"description": "End this process after the response reaches the client.",
@@ -91,10 +84,7 @@
"type": "null"
}
},
"summary": "End this process after the response reaches the client.",
"x-sausage-params": {
"$ref": "#/components/schemas/Empty"
}
"summary": "End this process after the response reaches the client."
}
]
}