88 "strings"
99 "unicode"
1010
11- openapiAnnotations "github.com/Layr-Labs/protocol-apis-annotations /protos/annotations"
11+ openapiAnnotations "github.com/Layr-Labs/protobuf-libs /protos/eigenlayer/lib /annotations"
1212 "google.golang.org/genproto/googleapis/api/annotations"
1313 "google.golang.org/protobuf/compiler/protogen"
1414 "google.golang.org/protobuf/proto"
@@ -219,10 +219,10 @@ func main() {
219219 // Add tag if not seen before
220220 if ! seenTags [moduleTag ] {
221221 seenTags [moduleTag ] = true
222- allPathsSpec .Tags = append (allPathsSpec .Tags , Tag {
223- Name : moduleTag ,
224- Description : fmt .Sprintf ("Operations from package %s" , moduleTag ),
225- })
222+ // allPathsSpec.Tags = append(allPathsSpec.Tags, Tag{
223+ // Name: moduleTag,
224+ // Description: fmt.Sprintf("Operations from package %s", moduleTag),
225+ // })
226226 }
227227
228228 // Process all services in the file
@@ -231,10 +231,10 @@ func main() {
231231 serviceTag := fmt .Sprintf ("%s/%s" , moduleTag , strings .ToLower (service .GoName ))
232232 if ! seenTags [serviceTag ] {
233233 seenTags [serviceTag ] = true
234- allPathsSpec .Tags = append (allPathsSpec .Tags , Tag {
235- Name : serviceTag ,
236- Description : fmt .Sprintf ("Operations for service %s" , service .GoName ),
237- })
234+ // allPathsSpec.Tags = append(allPathsSpec.Tags, Tag{
235+ // Name: serviceTag,
236+ // Description: fmt.Sprintf("Operations for service %s", service.GoName),
237+ // })
238238 }
239239
240240 for _ , method := range service .Methods {
@@ -261,7 +261,7 @@ func main() {
261261 Summary : method .GoName ,
262262 Description : extractLeadingComments (method ),
263263 OperationID : fmt .Sprintf ("%s_%s" , service .GoName , method .GoName ),
264- Tags : []string {moduleTag , serviceTag },
264+ Tags : []string {moduleTag }, // []string{moduleTag , serviceTag},
265265 Responses : map [string ]Response {
266266 "200" : {
267267 Description : "Successful response" ,
@@ -281,7 +281,7 @@ func main() {
281281 if isPublicVal != nil {
282282 isPublic = isPublicVal .(bool )
283283 if isPublic {
284- operation .Tags = append (operation .Tags , "public_rpc" )
284+ // operation.Tags = append(operation.Tags, "public_rpc")
285285 }
286286 }
287287 }
@@ -342,10 +342,10 @@ func main() {
342342 }
343343 if ! seenPublicTags [serviceTag ] {
344344 seenPublicTags [serviceTag ] = true
345- publicPathsSpec .Tags = append (publicPathsSpec .Tags , Tag {
346- Name : serviceTag ,
347- Description : fmt .Sprintf ("Operations for service %s" , service .GoName ),
348- })
345+ // publicPathsSpec.Tags = append(publicPathsSpec.Tags, Tag{
346+ // Name: serviceTag,
347+ // Description: fmt.Sprintf("Operations for service %s", service.GoName),
348+ // })
349349 }
350350
351351 // Add operation to publicPathsSpec
0 commit comments