Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpecWriter ¶
type SpecWriter struct {
// contains filtered or unexported fields
}
func NewSpecWriter ¶
func NewSpecWriter(mappingCatalog *commands.DefaultMappingCatalog, handlerCatalog *commands.DefaultHandlerCatalog, options ...SpecWriterOption) (specWriter *SpecWriter)
func (*SpecWriter) CreatePathItem ¶
func (*SpecWriter) CreateSpec ¶
func (w *SpecWriter) CreateSpec() (spec openapi3.T, err error)
type SpecWriterOption ¶
type SpecWriterOption = util.Option[*SpecWriter]
func WithDescription ¶
func WithDescription(description string) SpecWriterOption
func WithTitle ¶
func WithTitle(title string) SpecWriterOption
func WithVersion ¶
func WithVersion(version string) SpecWriterOption
Click to show internal directories.
Click to hide internal directories.