Update API Documentation for Tender ID Parameter Location
- Changed the parameter location for `tender_id` from "query" to "path" in the API documentation across multiple files, including Swagger JSON, YAML, and Go documentation. - Updated the handler method to retrieve `tender_id` from the path instead of the query parameters, ensuring consistency with the updated API structure. - This change enhances the clarity of the API documentation and aligns with Clean Architecture principles by accurately reflecting the intended usage of the `tender_id` parameter.
This commit is contained in:
@@ -6057,7 +6057,7 @@ const docTemplate = `{
|
||||
"type": "string",
|
||||
"description": "Tender ID",
|
||||
"name": "tender_id",
|
||||
"in": "query",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
|
||||
@@ -6051,7 +6051,7 @@
|
||||
"type": "string",
|
||||
"description": "Tender ID",
|
||||
"name": "tender_id",
|
||||
"in": "query",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
|
||||
@@ -5123,7 +5123,7 @@ paths:
|
||||
company combination
|
||||
parameters:
|
||||
- description: Tender ID
|
||||
in: query
|
||||
in: path
|
||||
name: tender_id
|
||||
required: true
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user