What's Changed
goctl Features in 1.8.4-alpha
- Swagger Enhancements:
- Bug fix: Removed example generation for
query
,path
, andheader
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.
- Bug fix: Removed example generation for
- API Code Generation Updates:
- Added
--type-group
flag for grouping types by file. - Introduced
group
keyword in@server
block for type separation.
- Added
- API Parser Improvements:
- Added support for identifier values in
info
key-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