fixed swagger documentation for search endpoint

see #622
This commit is contained in:
Bernhard B
2024-11-29 22:21:31 +01:00
parent b530fbb860
commit db97de3d81
4 changed files with 6 additions and 4 deletions

View File

@@ -1699,7 +1699,7 @@ const docTemplate = `{
}
}
},
"/v1/search": {
"/v1/search/{number}": {
"get": {
"description": "Check if one or more phone numbers are registered with the Signal Service.",
"consumes": [
@@ -2715,6 +2715,8 @@ var SwaggerInfo = &swag.Spec{
Description: "This is the Signal Cli REST API documentation.",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
}
func init() {

View File

@@ -1696,7 +1696,7 @@
}
}
},
"/v1/search": {
"/v1/search/{number}": {
"get": {
"description": "Check if one or more phone numbers are registered with the Signal Service.",
"consumes": [

View File

@@ -1534,7 +1534,7 @@ paths:
summary: Verify a registered phone number.
tags:
- Devices
/v1/search:
/v1/search/{number}:
get:
consumes:
- application/json