openapi

package
v0.0.0-...-8495beb Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package openapi provides a transport layer using HTTP. In this layer, most of the code is generated: low level HTTP handlers, request and response structs and object validation.

This is wired up to the service layer using "Bindings" which are just glue code which call service APIs from the endpoint handlers and deal with errors.

Within this package, all you will find is fx providers for the actual HTTP server, the router and the bindings. The bindings package is where most of the logic is and it depends on the router to mount the bindings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build() fx.Option

Types

This section is empty.

Directories

Path Synopsis
Package bindings is responsible for providing a bridge between the code that is generated from the OpenAPI specification that comprises the "Transport" layer and the code that implements the product, or the "Service" layer.
Package bindings is responsible for providing a bridge between the code that is generated from the OpenAPI specification that comprises the "Transport" layer and the code that implements the product, or the "Service" layer.
Package openapi provides primitives to interact with the openapi HTTP API.
Package openapi provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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