API: Make Swagger specification more consistent (#50576)
* Fix swagger generation targer using mac Validate using the swagger binarry instead of the docker container * API: Make swagger specification more consistent Fix operation parameter ordering
This commit is contained in:
@@ -39,14 +39,14 @@ import (
|
||||
// 500: internalServerError
|
||||
|
||||
// swagger:parameters addInvite
|
||||
type AddInviteParam struct {
|
||||
type AddInviteParams struct {
|
||||
// in:body
|
||||
// required:true
|
||||
Body dtos.AddInviteForm `json:"body"`
|
||||
}
|
||||
|
||||
// swagger:parameters revokeInvite
|
||||
type RevokeInviteParam struct {
|
||||
type RevokeInviteParams struct {
|
||||
// in:path
|
||||
// required:true
|
||||
Code string `json:"invitation_code"`
|
||||
|
||||
Reference in New Issue
Block a user