admin endpoints polish and lint removal (#834)

This commit is contained in:
Michael Quigley
2025-02-03 13:10:13 -05:00
parent 14d03b88f7
commit 62d8086aed
46 changed files with 2224 additions and 456 deletions

View File

@@ -6,10 +6,12 @@ package admin
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"fmt"
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// DeleteFrontendReader is a Reader for the DeleteFrontend structure.
@@ -272,3 +274,41 @@ func (o *DeleteFrontendInternalServerError) readResponse(response runtime.Client
return nil
}
/*
DeleteFrontendBody delete frontend body
swagger:model DeleteFrontendBody
*/
type DeleteFrontendBody struct {
// frontend token
FrontendToken string `json:"frontendToken,omitempty"`
}
// Validate validates this delete frontend body
func (o *DeleteFrontendBody) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this delete frontend body based on context it is used
func (o *DeleteFrontendBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (o *DeleteFrontendBody) MarshalBinary() ([]byte, error) {
if o == nil {
return nil, nil
}
return swag.WriteJSON(o)
}
// UnmarshalBinary interface implementation
func (o *DeleteFrontendBody) UnmarshalBinary(b []byte) error {
var res DeleteFrontendBody
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*o = res
return nil
}