openapi

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package openapi provides generated from OpenAPI spec API framework

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(f *fish.Fish, apiAddress, caPath, certPath, keyPath string) (*http.Server, error)

Init startups the API server to listen for incoming requests

Types

type YamlBinder added in v0.7.0

type YamlBinder struct{}

YamlBinder is used to decode yaml requests

func (*YamlBinder) Bind added in v0.7.0

func (*YamlBinder) Bind(i any, c echo.Context) (err error)

Bind allows to parse Yaml request data

Directories

Path Synopsis
Package api is an API definition
Package api is an API definition
Package meta provides META-API for the resources
Package meta provides META-API for the resources
Package types stores generated types and their special functions
Package types stores generated types and their special functions

Jump to

Keyboard shortcuts

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