{"modulePath":"github.com/ifc7/oapi-codegen","version":"v0.0.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package engine\n\nPackage engine defines how an OpenAPI library loads a document into the generator's model. libopenapi is the only engine; it lives in its own subpackage.\n\n## Types\n\n```go\ntype Engine interface {\n\tLoad(path string, opts LoadOptions) (*model.Document, error)\n}\n```\nEngine loads the OpenAPI document at path, a file path or an http(s) URL.\n\n```go\ntype LoadOptions struct {\n\t// OverlayPath is an OpenAPI Overlay applied to the document before it is\n\t// read. Ignored when empty.\n\tOverlayPath string\n\t// OverlayStrict fails the load when an Overlay action has no effect.\n\tOverlayStrict bool\n}\n```\nLoadOptions controls how a document is loaded.\n\n","path":"github.com/ifc7/oapi-codegen/pkg/engine","name":"engine","synopsis":"Package engine defines how an OpenAPI library loads a document into the generator's model.","isRedistributable":true}
