Documentation ¶
Overview ¶
Package openapi_schemas contains the OpenAPI 3.0 and 3.1 schemas that are loaded from libopenapi, or our own fork of the official OpenAPI repo specifications. Using an MD5 hash, we can compare the local version against the remote version and determine if they differ, if they do - load the remote version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSchema3_0 ¶
LoadSchema3_0 loads the latest OpenAPI 3.0 specification. The latest version is fetched from the OpenAPI repo. and if there is no change in the schema, the local version is returned, otherwise the remote version is returned.
func LoadSchema3_1 ¶
LoadSchema3_1 loads the latest OpenAPI 3.1 specification. The latest version is fetched from the OpenAPI repo. and if there is no change in the schema, the local version is returned, otherwise the remote version is returned.
Types ¶
This section is empty.