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:
|
||||
// - application/json
|
||||
// parameters:
|
||||
// - name: teamID
|
||||
// in: path
|
||||
// description: Team ID
|
||||
// required: true
|
||||
// type: string
|
||||
// security:
|
||||
// - BearerAuth: []
|
||||
// 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) {
|
||||
// swagger:operation GET /boards/search searchBoards
|
||||
// swagger:operation GET /boards/search searchAllBoards
|
||||
//
|
||||
// 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) {
|
||||
// swagger:operation POST /users getUser
|
||||
// swagger:operation POST /users getUsersList
|
||||
//
|
||||
// Returns a user[]
|
||||
//
|
||||
|
@ -2,25 +2,25 @@
|
||||
//
|
||||
// Focalboard Server
|
||||
//
|
||||
// Schemes: http, https
|
||||
// Host: localhost
|
||||
// BasePath: /api/v2
|
||||
// Version: 1.0.0
|
||||
// License: Custom https://github.com/mattermost/focalboard/blob/main/LICENSE.txt
|
||||
// Contact: Focalboard<api@focalboard.com> https://www.focalboard.com
|
||||
// Schemes: http, https
|
||||
// Host: localhost
|
||||
// BasePath: /api/v2
|
||||
// Version: 2.0.0
|
||||
// License: Custom https://github.com/mattermost/focalboard/blob/main/LICENSE.txt
|
||||
// Contact: Focalboard<api@focalboard.com> https://www.focalboard.com
|
||||
//
|
||||
// Consumes:
|
||||
// - application/json
|
||||
// Consumes:
|
||||
// - application/json
|
||||
//
|
||||
// Produces:
|
||||
// - application/json
|
||||
// Produces:
|
||||
// - application/json
|
||||
//
|
||||
// securityDefinitions:
|
||||
// BearerAuth:
|
||||
// type: apiKey
|
||||
// name: Authorization
|
||||
// in: header
|
||||
// description: 'Pass session token using Bearer authentication, e.g. set header "Authorization: Bearer <session token>"'
|
||||
// securityDefinitions:
|
||||
// BearerAuth:
|
||||
// type: apiKey
|
||||
// name: Authorization
|
||||
// in: header
|
||||
// description: 'Pass session token using Bearer authentication, e.g. set header "Authorization: Bearer <session token>"'
|
||||
//
|
||||
// swagger:meta
|
||||
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