v0.18.0
Change Log
v0.18.0 (2018-12-22)
Implemented enhancements:
- Client cannot unmarshal struct #1729
- swagger generation with --with-context result in compiles error #1684
- Can't have server code in subdirectory #1624
- Proposal: x-omitempty for general types #1623
- When generating validations struct pkg references needs to be preserved #578
Fixed bugs:
- Duplicated parentheses #1839
- Regression with gob encoder optimization #1824
- generated embedded_spec.go removing refs #1816
- Duplicated imports in configure.go #1808
- Recursive model errors during flattening stage of generate server #1796
- Invalid paths in go generate directive #1789
- race in handleShutdown #1781
- non-compiling code if an API method contains a parameter named 'result' #1778
- Are external references supported? #1774
- One spec in multiple files (data types logic override) - error of generating #1767
- go-swagger generate server: minItems (maxItems) on array fails during validation. #1755
- Client wont compile with a route tagged "test" #1683
- Generate client does not handle "-" dashes in --client-package consistently #1157
Closed issues:
- body parameter of type string results in code that doesn't compile #1832
- Add an option for placing the docs/docs.go file #1811
- Deb version 0.17.2 doesn't contain the binary on bintray #1793
- Parameters in swagger:route produce validation warnings #1785
- Do not escape '&' character in json response #1763
- Deb installation is broken with the new version with the "v" prefix #1760
- Validate returns different output in console and logs #1722
Merged pull requests:
- Prepare for v0.18.0 release #1843 (casualjim)
- FAQ update #1842 (fredbi)
- Models: avoids redundant "()" on .ValueExpression #1840 (fredbi)
- route: add support description response tag at path #1829 (d7561985)
- Fix #1824 #1827 (fredbi)
- Add HandlerAPI() function to stratoscale template #1821 (maxatome)
- Remove x net context from generated code #1819 (fredbi)
- Acknowledge fix #1816 with go-openapi updates #1818 (fredbi)
- Fixed go generate paths in configure_xxx.go #1810 (fredbi)
- Fixed regression on Windows introduced by #1804 #1809 (fredbi)
- Handle array examples; document Example usage #1807 (leon-barrett)
- Deprecates
--with-context
option #1806 (fredbi) - Fixes race condition in generated server #1805 (fredbi)
- More mangling for generated package names and path #1804 (fredbi)
- Fix slice validations in body param #1803 (fredbi)
- chore: update vendor for performance #1802 (orisano)
- Use JSON for examples of type object #1801 (leon-barrett)
- Fix go vet 11 issue with debugAsJSON func #1800 (fredbi)
- Fix flattening spec with remote circular $ref #1799 (fredbi)
- Allow '?' character in route path #1792 (andrewmilson)
- There is a panic when invalid schema of route/operation is used in spec generation. It should prevent it #1791 (marsianin)
- fix client cannot unmarshal struct which contains null #1788 (AlexInGitHub)
- Absorbing api names across multiple lines #1783 (liyuankui)
- fixes #1778. Allow 'result' name for API parameter #1780 (mtfelian)
* This Change Log was automatically generated by github_changelog_generator