Documentation
¶
Overview ¶
Package stubgen writes a type that implements a generated strict server interface by answering 501 for every operation. oapi-codegen emits an Unimplemented type for the plain ServerInterface but not for the strict one, and the strict one is what internal/server implements; without a stub every scaffolded operation would have to be hand-stubbed before the tree compiles.
Index ¶
Constants ¶
View Source
const InterfaceName = "StrictServerInterface"
InterfaceName is the strict interface oapi-codegen generates.
View Source
const TypeName = "UnimplementedStrict"
TypeName is the stub type written into the generated package.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.