types

package
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by apic; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddEndpointParams

type AddEndpointParams struct {
	Auth           string `json:"auth" apic:"auth"`
	ConfigPath     string `json:"config_path" apic:"config_path"`
	MaxBodyBytes   int64  `json:"max_body_bytes" apic:"max_body_bytes"`
	Method         string `json:"method" apic:"method"`
	Path           string `json:"path" apic:"path"`
	RateLimit      int64  `json:"rate_limit" apic:"rate_limit"`
	RequestSchema  string `json:"request_schema" apic:"request_schema"`
	ResponseSchema string `json:"response_schema" apic:"response_schema"`
}

AddEndpointParams generated from config schema

func (*AddEndpointParams) HashSecrets added in v0.15.1

func (x *AddEndpointParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes AddEndpointParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (AddEndpointParams) Valid

func (v AddEndpointParams) Valid() error

Valid validates AddEndpointParams fields against schema constraints.

type AddMCPToolParams

type AddMCPToolParams struct {
	ConfigPath   string `json:"config_path" apic:"config_path"`
	Name         string `json:"name" apic:"name"`
	ParamsSchema string `json:"params_schema" apic:"params_schema"`
	ResultSchema string `json:"result_schema" apic:"result_schema"`
}

AddMCPToolParams generated from config schema

func (*AddMCPToolParams) HashSecrets added in v0.15.1

func (x *AddMCPToolParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes AddMCPToolParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (AddMCPToolParams) Valid

func (v AddMCPToolParams) Valid() error

Valid validates AddMCPToolParams fields against schema constraints.

type AddSchemaParams

type AddSchemaParams struct {
	ConfigPath string `json:"config_path" apic:"config_path"`
	Name       string `json:"name" apic:"name"`
	SchemaJSON string `json:"schema_json" apic:"schema_json"`
}

AddSchemaParams generated from config schema

func (*AddSchemaParams) HashSecrets added in v0.15.1

func (x *AddSchemaParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes AddSchemaParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (AddSchemaParams) Valid

func (v AddSchemaParams) Valid() error

Valid validates AddSchemaParams fields against schema constraints.

type AddWebsocketParams

type AddWebsocketParams struct {
	Auth            string `json:"auth" apic:"auth"`
	ConfigPath      string `json:"config_path" apic:"config_path"`
	MaxFrameBytes   int64  `json:"max_frame_bytes" apic:"max_frame_bytes"`
	MaxMessageBytes int64  `json:"max_message_bytes" apic:"max_message_bytes"`
	MessageSchema   string `json:"message_schema" apic:"message_schema"`
	Path            string `json:"path" apic:"path"`
	PingIntervalMs  int64  `json:"ping_interval_ms" apic:"ping_interval_ms"`
	Proto           string `json:"proto" apic:"proto"`
}

AddWebsocketParams generated from config schema

func (*AddWebsocketParams) HashSecrets added in v0.15.1

func (x *AddWebsocketParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes AddWebsocketParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (AddWebsocketParams) Valid

func (v AddWebsocketParams) Valid() error

Valid validates AddWebsocketParams fields against schema constraints.

type ConfigPathParams

type ConfigPathParams struct {
	ConfigPath string `json:"config_path" apic:"config_path"`
}

ConfigPathParams generated from config schema

func (*ConfigPathParams) HashSecrets added in v0.15.1

func (x *ConfigPathParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes ConfigPathParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (ConfigPathParams) Valid

func (v ConfigPathParams) Valid() error

Valid validates ConfigPathParams fields against schema constraints.

type GenerateParams

type GenerateParams struct {
	ConfigPath string `json:"config_path" apic:"config_path"`
	OutputDir  string `json:"output_dir" apic:"output_dir"`
}

GenerateParams generated from config schema

func (*GenerateParams) HashSecrets added in v0.15.1

func (x *GenerateParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes GenerateParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (GenerateParams) Valid

func (v GenerateParams) Valid() error

Valid validates GenerateParams fields against schema constraints.

type GetSchemaParams

type GetSchemaParams struct {
	ConfigPath string `json:"config_path" apic:"config_path"`
	Name       string `json:"name" apic:"name"`
}

GetSchemaParams generated from config schema

func (*GetSchemaParams) HashSecrets added in v0.15.1

func (x *GetSchemaParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes GetSchemaParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (GetSchemaParams) Valid

func (v GetSchemaParams) Valid() error

Valid validates GetSchemaParams fields against schema constraints.

type HealthResp

type HealthResp struct {
	Status string `json:"status" apic:"status"`
}

HealthResp generated from config schema

func (*HealthResp) HashSecrets added in v0.15.1

func (x *HealthResp) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes HealthResp. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (HealthResp) Valid

func (v HealthResp) Valid() error

Valid validates HealthResp fields against schema constraints.

type RemoveEndpointParams

type RemoveEndpointParams struct {
	ConfigPath string `json:"config_path" apic:"config_path"`
	Method     string `json:"method" apic:"method"`
	Path       string `json:"path" apic:"path"`
}

RemoveEndpointParams generated from config schema

func (*RemoveEndpointParams) HashSecrets added in v0.15.1

func (x *RemoveEndpointParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes RemoveEndpointParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (RemoveEndpointParams) Valid

func (v RemoveEndpointParams) Valid() error

Valid validates RemoveEndpointParams fields against schema constraints.

type RemoveItemParams

type RemoveItemParams struct {
	ConfigPath string `json:"config_path" apic:"config_path"`
	Name       string `json:"name" apic:"name"`
}

RemoveItemParams generated from config schema

func (*RemoveItemParams) HashSecrets added in v0.15.1

func (x *RemoveItemParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes RemoveItemParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (RemoveItemParams) Valid

func (v RemoveItemParams) Valid() error

Valid validates RemoveItemParams fields against schema constraints.

type RemoveWebsocketParams

type RemoveWebsocketParams struct {
	ConfigPath string `json:"config_path" apic:"config_path"`
	Path       string `json:"path" apic:"path"`
}

RemoveWebsocketParams generated from config schema

func (*RemoveWebsocketParams) HashSecrets added in v0.15.1

func (x *RemoveWebsocketParams) HashSecrets(ctx context.Context) error

HashSecrets one-way hashes all hash-marked fields in place. It MUST run after Valid() and before any handler/resolver observes RemoveWebsocketParams. After it returns nil, no plaintext secret remains in the receiver. When the struct has no hash-marked fields the body is a no-op so every binding seam can call it uniformly. Generated — do not edit.

func (RemoveWebsocketParams) Valid

func (v RemoveWebsocketParams) Valid() error

Valid validates RemoveWebsocketParams fields against schema constraints.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL