feat: support id query for "list" apis (#908)

* feat: support id query for "list" apis

* gosec
This commit is contained in:
UUBulb
2024-12-24 23:23:01 +08:00
committed by GitHub
parent 672063f4de
commit d50605d668
10 changed files with 82 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ import (
// @Description List NAT profiles
// @Security BearerAuth
// @Tags auth required
// @Param id query uint false "Resource ID"
// @Produce json
// @Success 200 {object} model.CommonResponse[[]model.NAT]
// @Router /nat [get]