MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / Handler

Function Handler

internal/test/server/server.gen.go:600–602  ·  view source on GitHub ↗

Handler creates http.Handler with routing matching OpenAPI spec.

(si ServerInterface)

Source from the content-addressed store, hash-verified

598
599// Handler creates http.Handler with routing matching OpenAPI spec.
600func Handler(si ServerInterface) http.Handler {
601 return HandlerWithOptions(si, ChiServerOptions{})
602}
603
604type ChiServerOptions struct {
605 BaseURL string

Callers 1

TestParametersFunction · 0.70

Calls 1

HandlerWithOptionsFunction · 0.70

Tested by 1

TestParametersFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…