GoSwagger v0.18.0 Release Notes
Release Date: 2018-12-22 // over 5 years ago-
๐ 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