github zeromicro/go-zero tools/goctl/v1.8.4-alpha
goctl/v1.8.4-alpha

3 months ago

What's Changed

goctl Features in 1.8.4-alpha

  • Swagger Enhancements:
    • Bug fix: Removed example generation for query, path, and header request bodies, which aren't supported in API spec 2.0.
    • Feature: Added support for response and JSON request body definitions. Enabled via the useDefinitions keyword in the API file.
  • API Code Generation Updates:
    • Added --type-group flag for grouping types by file.
    • Introduced group keyword in @server block for type separation.
  • API Parser Improvements:
    • Added support for identifier values in info key-value pairs.

Check the PR description for detailed examples and usage.


Full Changelog: v1.8.3...v1.8.4-alpha

Don't miss a new go-zero release

NewReleases is sending notifications on new releases.