Swagger-codegen 2.1.4 Released!
Tons of updates in the latest swagger-codegen release. In addition to having a number of
template and language-specific fixes & updates, there are some core changes to the codegen
which provide more complete spec support and enhanced debugging.
We’ve also added maven central badges (#1368) and greatly improved the README for the
project.
The swagger-codegen-cli executable jar has greatly improved documentation and the ability to use configuration files instead of a mountain of CLI options (#1306).
Here are some details of updates in this release. Overall there were 160 PRs merged!
General enhancements & bug fixes
- README updated with better instructions, TOC
- NPE fixed for empty OAuth scopes
- Better online generator support documentation
- Configuration set via file (#1306)
- Better exception handling (#1359, #1356, #1276)
- Migrated tests to be pure java (#1312, #1304)
- Authorization scope added to security models (#1390, #1392)
- Support for inline models through new swagger-parser features (#1410)
- Support for top-level consumes & produces (#1411, #1370)
- Better handling for missing/invalid operationId (#1431)
Language-specific updates
- Swift enhancements (#1436)
- Ruby enhancements (#1432, #1401, #1302, #1298, #1302)
- TypeScript enhancements (#1385, #1427, #1261)
- Perl enhancements (#1418, #1145)
- PHP enhancements (#1417, #1356)
- Java enhancements (#1416, #1375, #1280, #1264)
- Updated Objective-C to AF 3.0 (#1412)
- Objective-C updates (#1340)
- Static HTML enhancements (#1397, #1335)
- Swift enhancements (#1404)
- Python enhancements (#1300, #1295, #1290, #1290, #1281)
- C Sharp enhancements (#1393, #1333, #1331, #1307)
- Android enhancements (#1377)
- Added retrofit client library support (#1384, #1372, #1256)
- NodeJS server enhancements (#1360)
- Dynamic HTML enhancements (#1310)