1
0
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:
Paul Esch-Laurent 2022-09-07 09:32:53 -05:00 committed by GitHub
parent 95c69cc46b
commit d1346be051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8260 additions and 4014 deletions

View File

@ -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:

View File

@ -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
//

View File

@ -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[]
//

View File

@ -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

View File

@ -1 +1 @@
5.4.0
6.0.1

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff