package
Version:
v0.8.5
Opens a new window with list of versions in this module.
Published: Oct 20, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Endpoint struct {
Name string `json:"name"`
Method string `json:"method"`
Path string `json:"path"`
ErrorTypes []string `json:"errorTypes"`
ResponseType string `json:"responseType"`
BodyType string `json:"bodyType"`
RequireFormData bool `json:"requireFormData"`
}
type Server struct {
Types []Type `json:"types"`
Endpoints []Endpoint `json:"endpoints"`
}
type Type struct {
Name string `json:"name"`
Extend string `json:"extend"`
Fields []TypeField `json:"fields"`
}
type TypeField struct {
Name string `json:"name"`
Type string `json:"type"`
Omit bool `json:"omit"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.