Documentation
¶
Overview ¶
Package enginetest finds the documents the repository generates from, so every engine can be checked against the same set.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fixture ¶
type Fixture struct {
// Name is the spec path relative to the repository root.
Name string
// Spec is the absolute path of the OpenAPI document.
Spec string
// Opts carries the Overlay the configuration applies, if any.
Opts engine.LoadOptions
}
Fixture is one document the repository generates code from: the spec named by a go:generate directive, with the Overlay its configuration applies.
func GenerateFixtures ¶
GenerateFixtures finds every oapi-codegen go:generate directive under the repository's internal/test and examples modules.