Registry / web-framework / wi2l-fizz

wi2l-fizz

JSON →
library0.23.0gogounverified

A Go library for building OpenAPI 3.0 specifications from Go HTTP handlers.

go get github.com/wI2L/fizz
INSTALL
IMPORT
SIG · WI2L-FIZZ
W
wi2l-fizz
web-frameworkgov0.23.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fizz
✓ github.com/wI2L/fizz

Creates a Fizz router with an OpenAPI endpoint.

package main import ( "net/http" "github.com/wI2L/fizz" "github.com/wI2L/fizz/openapi" ) func main() { f := fizz.New() f.GET("/hello", nil, fizz.Handler(func(c *fizz.Context) { c.String(200, "Hello") }), fizz.Summary("Say hello")) http.ListenAndServe(":8080", f) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.23.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
wi2l-fizz — go get wi2l-fizz · libregistry