Changelog
v0.25.0 (2020-07-18)
Implemented enhancements:
- importing struct with x-go-type generates client code which doesnt compile #2224
Fixed bugs:
- file parameter with maxLength: not enough arguments in call to "github.com/go-openapi/errors".ExceedsMaximum #2342
- Missing models during client generation #2306
- Server generation with --name api produces empty strings #2293
- Custom principal import is missing from generated server code #2283
- "generate operation" returns "no operations were selected" #2280
- "generate operation" error "the required flag `-n, --name' was not specified" #2279
- Generate model may panic on some specs #2161
- swagger diff --dest="${DEST}": Is not writing output to "${DEST}" #2103
- Models not importing x-go-type for one of properties #1897
Closed issues:
- Strange error while swagger generate server! #2358
- generate operation does not take model package parameter #2355
- Duplicate struct field generated #2352
- structures for response errors #2351
- swagger:meta - $ref on description #2349
- Add warning to documentation for swagger:meta #2335
- how to add property
in:formData
for struct's all field #2323 - 0.24.0: too many arguments in call to "github.com/go-openapi/errors".Required #2319
- Build fails with latest go-openapi/errors #2315
- Raw request body is empty if we try get it inside handler function #2310
- not yet registered swag #2291
Merged pull requests:
- adds swaggerui middleware as default /docs site #2359 (casualjim)
- Adding ModelPackage option to generate operation #2356 (rodriguise)
- Added a way to override the different authenticator functions in #2354 (ronniel1)
- Improve client response error message when status code not recognized #2348 (minitauros)
- fixed missing broken templates after the breaking change in go-openapi/errors #2345 (fredbi)
- removed unused template #2343 (fredbi)
- fix imports of external types, when used as dependency in properties, items, etc #2341 (fredbi)
- enhanced external types: more options to x-go-type #2340 (fredbi)
- fixed merging issues that caused linting/goimport failures #2339 (fredbi)
- Add NOTE in swagger:meta for adhering to godoc standard #2338 (AymanArif)
- refactored generator tests for readability #2337 (fredbi)
- fix edge case with panic in models because of invalid additionalProperties or AllOf schema #2336 (fredbi)
- Enhanced generate model CLI: accepts definitions only specs, deprecates some options #2333 (fredbi)
- Refactored CLI diff commands and associated tests #2332 (fredbi)
- Fix linting again #2329 (fredbi)
- more aggressive name deconflicting for inline (anonymous) models generated in the operations package #2328 (fredbi)
- filter out empty args passed by CLI to select operations #2327 (fredbi)
- re-enacted CI-based linting #2326 (fredbi)
- fixed broken imports when specifying principal in external package #2325 (fredbi)
- fix(generator): fixed generated API name when terminated with suffix "api" #2322 (fredbi)
- feature: strict responders option #2312 (onokonem)
* This Changelog was automatically generated by github_changelog_generator