What's Changed
goctl Features in 1.8.4-alpha
- Swagger Enhancements:
- Bug fix: Removed example generation for
query,path, andheaderrequest bodies, which aren't supported in API spec 2.0. - Feature: Added support for response and JSON request body definitions. Enabled via the
useDefinitionskeyword in the API file.
- Bug fix: Removed example generation for
- API Code Generation Updates:
- Added
--type-groupflag for grouping types by file. - Introduced
groupkeyword in@serverblock for type separation.
- Added
- API Parser Improvements:
- Added support for identifier values in
infokey-value pairs.
- Added support for identifier values in
Check the PR description for detailed examples and usage.
Full Changelog: v1.8.3...v1.8.4-alpha