Deprecated: use github.com/deepmap/oapi-codegen/v2 as major version v1 is no longer maintained. The upgrade path is smooth (see https://github.com/deepmap/oapi-codegen/releases/tag/v2.0.0 for more details) and only introduces a reduced set of dependencies, as well as future releases introducing a large number of enhancements and bug fixes
GetSwagger 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.