Skip to content

Commit

Permalink
support hidden for endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Dec 13, 2024
1 parent e91068d commit 6f89898
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func init() {
type EndpointDeclaration struct {
Path string `json:"path" yaml:"path" validate:"required"`
Method EndpointMethod `json:"method" yaml:"method" validate:"required,is_available_endpoint_method"`
Hidden bool `json:"hidden" yaml:"hidden" validate:"omitempty"`
}

type EndpointProviderDeclaration struct {
Expand Down

0 comments on commit 6f89898

Please sign in to comment.