{"modulePath":"github.com/ascendsoftware/oapi-codegen","version":"v1.0.12","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package externalref\n\nPackage externalref provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/ascendsoftware/oapi-codegen version (devel) DO NOT EDIT.\n\n## Functions\n\n```go\nfunc GetSwagger() (swagger *openapi3.T, err error)\n```\nGetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to \"import-mapping\" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.\n\n```go\nfunc PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)\n```\nConstructs a synthetic filesystem for resolving external references when loading openapi specifications.\n\n## Types\n\n```go\ntype Container struct {\n\tObjectA *externalRef0.ObjectA   `json:\"object_a,omitempty\"`\n\tObjectB *externalRef1.ObjectB   `json:\"object_b,omitempty\"`\n\tObjectC *map[string]interface{} `json:\"object_c,omitempty\"`\n}\n```\nContainer defines model for Container.\n\n","path":"github.com/ascendsoftware/oapi-codegen/internal/test/externalref","name":"externalref","synopsis":"Package externalref provides primitives to interact with the openapi HTTP API.","isRedistributable":true}
