From 4d6ef1c52d5d3f3569b59c7bf2f0849474bd8456 Mon Sep 17 00:00:00 2001 From: John Guo Date: Mon, 28 Mar 2022 15:59:02 +0800 Subject: [PATCH] add sort field for path of package goai --- protocol/goai/goai_path.go | 1 + 1 file changed, 1 insertion(+) diff --git a/protocol/goai/goai_path.go b/protocol/goai/goai_path.go index 464ed7ccf..7755b249a 100644 --- a/protocol/goai/goai_path.go +++ b/protocol/goai/goai_path.go @@ -32,6 +32,7 @@ type Path struct { Trace *Operation `json:"trace,omitempty"` Servers Servers `json:"servers,omitempty"` Parameters Parameters `json:"parameters,omitempty"` + Sort int `json:"sort"` } // Paths are specified by OpenAPI/Swagger standard version 3.0.