X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=capifcore%2Finternal%2Feventsapi%2Feventsapi-server.gen.go;h=2550b8a580e70dc795fa68caac17109bda3349d2;hb=refs%2Fchanges%2F22%2F10022%2F2;hp=3777afcefd4d4534bba55a26f2c7df3f68cf35d6;hpb=c2422dba52b7c2fe640ff957137ccf64d2c96753;p=nonrtric%2Fplt%2Fsme.git diff --git a/capifcore/internal/eventsapi/eventsapi-server.gen.go b/capifcore/internal/eventsapi/eventsapi-server.gen.go index 3777afc..2550b8a 100644 --- a/capifcore/internal/eventsapi/eventsapi-server.gen.go +++ b/capifcore/internal/eventsapi/eventsapi-server.gen.go @@ -16,6 +16,13 @@ import ( "github.com/deepmap/oapi-codegen/pkg/runtime" "github.com/getkin/kin-openapi/openapi3" "github.com/labstack/echo/v4" + externalRef0 "oransc.org/nonrtric/capifcore/internal/accesscontrolpolicyapi" + externalRef1 "oransc.org/nonrtric/capifcore/internal/common" + externalRef2 "oransc.org/nonrtric/capifcore/internal/common29122" + externalRef3 "oransc.org/nonrtric/capifcore/internal/common29571" + externalRef4 "oransc.org/nonrtric/capifcore/internal/loggingapi" + externalRef5 "oransc.org/nonrtric/capifcore/internal/publishserviceapi" + externalRef6 "oransc.org/nonrtric/capifcore/internal/routinginfoapi" ) // ServerInterface represents all server handlers. @@ -184,6 +191,50 @@ func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) { res[pathToFile] = rawSpec } + pathPrefix := path.Dir(pathToFile) + + for rawPath, rawFunc := range externalRef1.PathToRawSpec(path.Join(pathPrefix, "CommonData.yaml")) { + if _, ok := res[rawPath]; ok { + // it is not possible to compare functions in golang, so always overwrite the old value + } + res[rawPath] = rawFunc + } + for rawPath, rawFunc := range externalRef2.PathToRawSpec(path.Join(pathPrefix, "TS29122_CommonData.yaml")) { + if _, ok := res[rawPath]; ok { + // it is not possible to compare functions in golang, so always overwrite the old value + } + res[rawPath] = rawFunc + } + for rawPath, rawFunc := range externalRef0.PathToRawSpec(path.Join(pathPrefix, "TS29222_CAPIF_Access_Control_Policy_API.yaml")) { + if _, ok := res[rawPath]; ok { + // it is not possible to compare functions in golang, so always overwrite the old value + } + res[rawPath] = rawFunc + } + for rawPath, rawFunc := range externalRef4.PathToRawSpec(path.Join(pathPrefix, "TS29222_CAPIF_Logging_API_Invocation_API.yaml")) { + if _, ok := res[rawPath]; ok { + // it is not possible to compare functions in golang, so always overwrite the old value + } + res[rawPath] = rawFunc + } + for rawPath, rawFunc := range externalRef5.PathToRawSpec(path.Join(pathPrefix, "TS29222_CAPIF_Publish_Service_API.yaml")) { + if _, ok := res[rawPath]; ok { + // it is not possible to compare functions in golang, so always overwrite the old value + } + res[rawPath] = rawFunc + } + for rawPath, rawFunc := range externalRef6.PathToRawSpec(path.Join(pathPrefix, "TS29222_CAPIF_Routing_Info_API.yaml")) { + if _, ok := res[rawPath]; ok { + // it is not possible to compare functions in golang, so always overwrite the old value + } + res[rawPath] = rawFunc + } + for rawPath, rawFunc := range externalRef3.PathToRawSpec(path.Join(pathPrefix, "TS29571_CommonData.yaml")) { + if _, ok := res[rawPath]; ok { + // it is not possible to compare functions in golang, so always overwrite the old value + } + res[rawPath] = rawFunc + } return res }