MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / LoadSwaggerWithCircularReferenceCount

Function LoadSwaggerWithCircularReferenceCount

pkg/util/loader.go:31–33  ·  view source on GitHub ↗

Deprecated: In kin-openapi v0.126.0 (https://github.com/getkin/kin-openapi/tree/v0.126.0?tab=readme-ov-file#v01260) the Circular Reference Counter functionality was removed, instead resolving all references with backtracking, to avoid needing to provide a limit to reference counts. This is now iden

(filePath string, _ int)

Source from the content-addressed store, hash-verified

29//
30// This is now identital in method as `LoadSwagger`.
31func LoadSwaggerWithCircularReferenceCount(filePath string, _ int) (swagger *openapi3.T, err error) {
32 return LoadSwagger(filePath)
33}
34
35type LoadSwaggerWithOverlayOpts struct {
36 Path string

Callers

nothing calls this directly

Calls 1

LoadSwaggerFunction · 0.85

Tested by

no test coverage detected