sonic-restapi icon indicating copy to clipboard operation
sonic-restapi copied to clipboard

Fix vnet_id OpenAPI mismatch

Open sfuhrm opened this issue 1 year ago • 0 comments

The default.go code is taking vnet_id as a query parameter, but the OpenAPI spec says vnet_id is a path param. Fix it to match the code.

Semantic error at paths./config/interface/vlans.get.parameters.0.name Path parameter "vnet_id" must have the corresponding {vnet_id} segment in the "/config/interface/vlans" path

sfuhrm avatar Jul 19 '22 11:07 sfuhrm