diff --git a/internal/lokiapi/oas_router_gen.go b/internal/lokiapi/oas_router_gen.go index d08a479b..da53a967 100644 --- a/internal/lokiapi/oas_router_gen.go +++ b/internal/lokiapi/oas_router_gen.go @@ -354,9 +354,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IndexStats r.name = "IndexStats" r.summary = "" r.operationID = "indexStats" @@ -412,9 +412,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: LabelValues r.name = "LabelValues" r.summary = "" r.operationID = "labelValues" @@ -440,9 +440,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Labels r.name = "Labels" r.summary = "" r.operationID = "labels" @@ -468,9 +468,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: Push r.name = "Push" r.summary = "" r.operationID = "push" @@ -516,9 +516,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: QueryRange r.name = "QueryRange" r.summary = "" r.operationID = "queryRange" @@ -544,9 +544,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Series r.name = "Series" r.summary = "" r.operationID = "series" diff --git a/internal/otelbotapi/oas_router_gen.go b/internal/otelbotapi/oas_router_gen.go index f3483a42..f38b7065 100644 --- a/internal/otelbotapi/oas_router_gen.go +++ b/internal/otelbotapi/oas_router_gen.go @@ -227,9 +227,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Ping r.name = "Ping" r.summary = "" r.operationID = "ping" @@ -252,9 +252,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SubmitReport r.name = "SubmitReport" r.summary = "" r.operationID = "submitReport" @@ -277,9 +277,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetStatus r.name = "GetStatus" r.summary = "" r.operationID = "getStatus" diff --git a/internal/promapi/oas_router_gen.go b/internal/promapi/oas_router_gen.go index 01936bd2..68873301 100644 --- a/internal/promapi/oas_router_gen.go +++ b/internal/promapi/oas_router_gen.go @@ -433,9 +433,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetLabelValues r.name = "GetLabelValues" r.summary = "" r.operationID = "getLabelValues" @@ -461,9 +461,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetLabels r.name = "GetLabels" r.summary = "" r.operationID = "getLabels" @@ -472,7 +472,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: PostLabels r.name = "PostLabels" r.summary = "" r.operationID = "postLabels" @@ -498,9 +497,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetMetadata r.name = "GetMetadata" r.summary = "" r.operationID = "getMetadata" @@ -566,9 +565,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetQueryExemplars r.name = "GetQueryExemplars" r.summary = "" r.operationID = "getQueryExemplars" @@ -577,7 +576,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: PostQueryExemplars r.name = "PostQueryExemplars" r.summary = "" r.operationID = "postQueryExemplars" @@ -600,9 +598,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetQueryRange r.name = "GetQueryRange" r.summary = "" r.operationID = "getQueryRange" @@ -611,7 +609,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: PostQueryRange r.name = "PostQueryRange" r.summary = "" r.operationID = "postQueryRange" @@ -640,9 +637,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetRules r.name = "GetRules" r.summary = "" r.operationID = "getRules" @@ -665,9 +662,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetSeries r.name = "GetSeries" r.summary = "" r.operationID = "getSeries" @@ -676,7 +673,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: PostSeries r.name = "PostSeries" r.summary = "" r.operationID = "postSeries" diff --git a/internal/pyroscopeapi/oas_router_gen.go b/internal/pyroscopeapi/oas_router_gen.go index 380171b5..020b7e65 100644 --- a/internal/pyroscopeapi/oas_router_gen.go +++ b/internal/pyroscopeapi/oas_router_gen.go @@ -284,9 +284,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetApps r.name = "GetApps" r.summary = "" r.operationID = "getApps" @@ -309,9 +309,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: Ingest r.name = "Ingest" r.summary = "" r.operationID = "ingest" @@ -346,9 +346,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: LabelValues r.name = "LabelValues" r.summary = "" r.operationID = "labelValues" @@ -371,9 +371,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Labels r.name = "Labels" r.summary = "" r.operationID = "labels" @@ -399,9 +399,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Render r.name = "Render" r.summary = "" r.operationID = "render" diff --git a/internal/sentryapi/oas_router_gen.go b/internal/sentryapi/oas_router_gen.go index 6369c2cf..29d5b38f 100644 --- a/internal/sentryapi/oas_router_gen.go +++ b/internal/sentryapi/oas_router_gen.go @@ -206,9 +206,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Dummy r.name = "Dummy" r.summary = "" r.operationID = "dummy" @@ -231,9 +231,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: Envelope r.name = "Envelope" r.summary = "" r.operationID = "envelope" diff --git a/internal/tempoapi/oas_router_gen.go b/internal/tempoapi/oas_router_gen.go index cfb717ba..f9c25a4a 100644 --- a/internal/tempoapi/oas_router_gen.go +++ b/internal/tempoapi/oas_router_gen.go @@ -438,9 +438,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Echo r.name = "Echo" r.summary = "" r.operationID = "echo" @@ -531,9 +531,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchTagValues r.name = "SearchTagValues" r.summary = "" r.operationID = "searchTagValues" @@ -559,9 +559,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchTags r.name = "SearchTags" r.summary = "" r.operationID = "searchTags" @@ -590,9 +590,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BuildInfo r.name = "BuildInfo" r.summary = "" r.operationID = "buildInfo" @@ -623,9 +623,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TraceByID r.name = "TraceByID" r.summary = "" r.operationID = "traceByID" @@ -681,9 +681,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchTagValuesV2 r.name = "SearchTagValuesV2" r.summary = "" r.operationID = "searchTagValuesV2" @@ -709,9 +709,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchTagsV2 r.name = "SearchTagsV2" r.summary = "" r.operationID = "searchTagsV2"