Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct{}
Exporter based on https://google.aip.dev/121
func NewExporter ¶ added in v0.5.5
func NewExporter() *Exporter
func (*Exporter) Export ¶
func (e *Exporter) Export( _ context.Context, params *exporter.ExportParams, ) ([]*exporter.ExportedPage, error)
func (*Exporter) ExportPerFile ¶
func (e *Exporter) ExportPerFile( _ context.Context, params *exporter.ExportParams, ) ([]*exporter.ExportedPage, error)
type Specification ¶ added in v0.5.7
type Specification struct {
Package string `yaml:"package" json:"package"`
Indent int `yaml:"indent" json:"indent"`
Options orderedmap.OrderedMap[string, interface{}] `yaml:"options" json:"options"`
Pagination paginationType `yaml:"pagination" json:"pagination"`
With specw.BoolObject[struct {
GoogleApiHttp specw.BoolObject[struct {
PathPrefix string `yaml:"path_prefix" json:"path_prefix"`
}] `yaml:"google.api.http" json:"google.api.http"`
GoogleAPIFieldBehavior specw.BoolObject[struct{}] `yaml:"google.api.field_behavior" json:"google.api.field_behavior"`
BufValidateField specw.BoolObject[struct{}] `yaml:"buf.validate.field" json:"buf.validate.field"`
}] `yaml:"with" json:"with"`
RPC struct {
Delete struct {
Returns deleteReturns `yaml:"returns" json:"returns"`
} `yaml:"delete" json:"delete"`
} `yaml:"rpc" json:"rpc"`
}
func (*Specification) Validate ¶ added in v0.5.7
func (s *Specification) Validate() error
Click to show internal directories.
Click to hide internal directories.