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: // produces:
// - application/json // - application/json
// parameters:
// - name: teamID
// in: path
// description: Team ID
// required: true
// type: string
// security: // security:
// - BearerAuth: [] // - BearerAuth: []
// responses: // 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) { 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
// //

View File

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

View File

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

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