server_gorilla

command
v0.0.0-...-b934907 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

openapi-generator generates both clients and servers from an OpenAPI v3 spec. It provides an interface that you implement. The individual route handlers do not conform to the http.Handler interface. Path params and input bodies are added as fields in structs, added to the route method signature. The response bodies must be created manually from the generated models, then wrapped with a status code. Errors are returned in this way as well.

Directories

Path Synopsis
gen

Jump to

Keyboard shortcuts

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