mirror of
https://github.com/mattermost/focalboard.git
synced 2025-04-11 11:19:56 +02:00
Fix make swagger
errors & update version (#3772)
* chore: fix `make swagger` errors * chore: update Swagger version and re-generate
This commit is contained in:
parent
95c69cc46b
commit
d1346be051
@ -56,6 +56,12 @@ func (a *API) handleNotifyAdminUpgrade(w http.ResponseWriter, r *http.Request) {
|
|||||||
// ---
|
// ---
|
||||||
// produces:
|
// produces:
|
||||||
// - application/json
|
// - application/json
|
||||||
|
// parameters:
|
||||||
|
// - name: teamID
|
||||||
|
// in: path
|
||||||
|
// description: Team ID
|
||||||
|
// required: true
|
||||||
|
// type: string
|
||||||
// security:
|
// security:
|
||||||
// - BearerAuth: []
|
// - BearerAuth: []
|
||||||
// responses:
|
// responses:
|
||||||
|
@ -267,7 +267,7 @@ func (a *API) handleSearchLinkableBoards(w http.ResponseWriter, r *http.Request)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *API) handleSearchAllBoards(w http.ResponseWriter, r *http.Request) {
|
func (a *API) handleSearchAllBoards(w http.ResponseWriter, r *http.Request) {
|
||||||
// swagger:operation GET /boards/search searchBoards
|
// swagger:operation GET /boards/search searchAllBoards
|
||||||
//
|
//
|
||||||
// Returns the boards that match with a search term
|
// Returns the boards that match with a search term
|
||||||
//
|
//
|
||||||
|
@ -22,7 +22,7 @@ func (a *API) registerUsersRoutes(r *mux.Router) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *API) handleGetUsersList(w http.ResponseWriter, r *http.Request) {
|
func (a *API) handleGetUsersList(w http.ResponseWriter, r *http.Request) {
|
||||||
// swagger:operation POST /users getUser
|
// swagger:operation POST /users getUsersList
|
||||||
//
|
//
|
||||||
// Returns a user[]
|
// Returns a user[]
|
||||||
//
|
//
|
||||||
|
@ -2,25 +2,25 @@
|
|||||||
//
|
//
|
||||||
// Focalboard Server
|
// Focalboard Server
|
||||||
//
|
//
|
||||||
// Schemes: http, https
|
// Schemes: http, https
|
||||||
// Host: localhost
|
// Host: localhost
|
||||||
// BasePath: /api/v2
|
// BasePath: /api/v2
|
||||||
// Version: 1.0.0
|
// Version: 2.0.0
|
||||||
// License: Custom https://github.com/mattermost/focalboard/blob/main/LICENSE.txt
|
// License: Custom https://github.com/mattermost/focalboard/blob/main/LICENSE.txt
|
||||||
// Contact: Focalboard<api@focalboard.com> https://www.focalboard.com
|
// Contact: Focalboard<api@focalboard.com> https://www.focalboard.com
|
||||||
//
|
//
|
||||||
// Consumes:
|
// Consumes:
|
||||||
// - application/json
|
// - application/json
|
||||||
//
|
//
|
||||||
// Produces:
|
// Produces:
|
||||||
// - application/json
|
// - application/json
|
||||||
//
|
//
|
||||||
// securityDefinitions:
|
// securityDefinitions:
|
||||||
// BearerAuth:
|
// BearerAuth:
|
||||||
// type: apiKey
|
// type: apiKey
|
||||||
// name: Authorization
|
// name: Authorization
|
||||||
// in: header
|
// in: header
|
||||||
// description: 'Pass session token using Bearer authentication, e.g. set header "Authorization: Bearer <session token>"'
|
// description: 'Pass session token using Bearer authentication, e.g. set header "Authorization: Bearer <session token>"'
|
||||||
//
|
//
|
||||||
// swagger:meta
|
// swagger:meta
|
||||||
package main
|
package main
|
||||||
|
@ -1 +1 @@
|
|||||||
5.4.0
|
6.0.1
|
8041
server/swagger/docs/html/index.html
generated
8041
server/swagger/docs/html/index.html
generated
File diff suppressed because it is too large
Load Diff
4189
server/swagger/swagger.yml
generated
4189
server/swagger/swagger.yml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user