zeromicro / goctl-swagger

MIT License
208 stars 133 forks source link

fix(): fix #71 and more #87

Closed jayvynl closed 9 months ago

jayvynl commented 9 months ago
  1. Fix: When a third-party tag exists, the generated parameter name is incorrect.
  2. Fix: When the structure in api file is nested more than 2 levels, the parameters cannot be generated correctly.
  3. Fix: When both form and json tag exist, the request body contains redundant fields.
  4. Feature: support obtaining parameter constraints from validate tag
  5. Upgrade goctl and go-zero to v1.6.0, fix #71
  6. When the request method is POST/PUT/PATCH, if the request field does not contain json tag and contains form tag, add "multipart/form-data", "application/x-www-form-urlencoded" to the content-type of the request