openapi_schemas

package
v0.0.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2024 License: MIT Imports: 5 Imported by: 0

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

func LoadSchema3_0(schema string) string

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

func LoadSchema3_1(schema string) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL