package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Mar 3, 2026
License: MIT
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Port int
SpecPath string
}
type Endpoint struct {
Method string `json:"method"`
Path string `json:"path"`
OperationID string `json:"operationId,omitempty"`
Summary string `json:"summary,omitempty"`
DefaultStatus int `json:"defaultStatus,omitempty"`
DefaultBody any `json:"defaultBody,omitempty"`
}
type Stub struct {
Status int `json:"status"`
Body any `json:"body,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.