Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseJSONSchema ¶
ParseJSONSchema parses the JSON schema and generates Go struct definitions
func ProcessJSONFile ¶
ProcessJSONFile reads a JSON file, decodes it into a Go struct, and returns the result.
Types ¶
type OpenAPI ¶
type OpenAPI struct { Openapi []map[string]interface{} `json:"openapi"` Servers []map[string]interface{} `json:"servers"` Security []map[string]interface{} `json:"security"` Paths []map[string]interface{} `json:"paths"` Components []map[string]interface{} `json:"components"` }
OpenAPI is the top-level struct for the OAS3 standard
Click to show internal directories.
Click to hide internal directories.