Skip to content

Releases: RussellLuo/kun

v0.2.9

20 May 07:34
Compare
Choose a tag to compare
  • Simplify werror (#9)
  • Improve the OAS package to handle embedded structs properly

v0.2.8

11 May 03:55
Compare
Choose a tag to compare
  • Add support for patching existing codecs (#8)
  • Add BasicParam and StructParams
  • Let users handle the cases where required fields are missing

v0.2.7

07 May 01:56
Compare
Choose a tag to compare

Add support for specifying the relative URL path to the OAS documentation.

v0.2.6

28 Apr 06:19
Compare
Choose a tag to compare
  • Enhance the OAS generator to extract descriptions from interface docs
  • Add support for specifying OAS metadata by using @kok(oas)
  • Remove support for @kok(tag)
  • Add an option descr for @kok(param)
  • Add support for specifying OAS descriptions in the Kok tag (e.g. kok:",descr:DESCRIPTION")

v0.2.5

21 Apr 08:37
Compare
Choose a tag to compare
  • Improve the OAS package to handle the following types properly:
    • time.Time
    • arrays of nil map[string]interface{}
  • Move gen/util/misc to pkg/caseconv
  • Improve the OAS generator to handle multi-valued parameters properly
  • Ensure that path parameters are always required
  • Add support for changing the OAS type of a struct field by using the Kok tag (e.g. kok:",type:string")
  • Add support for @kok(tag), which is mainly used for specifying OAS tags

v0.2.4

15 Apr 10:53
Compare
Choose a tag to compare
  • Improve addSubDefinition to handle pointers to basic types properly
  • Add support for types float32 and float64
  • Improve the OAS package to handle arrays and slices more properly

v0.2.3

07 Apr 05:46
Compare
Choose a tag to compare

Rename resp to _resp to prevent possible name collisions.

v0.2.2

12 Mar 02:45
Compare
Choose a tag to compare
  • Simplify the annotation syntax for @kok(param) (#7)
  • Remove support for @kok2 annotations
  • Improve documentation

v0.2.1

08 Mar 09:40
Compare
Choose a tag to compare

Add LegacyResponseSchema for backwards compatibility.

v0.2.0

08 Mar 09:15
Compare
Choose a tag to compare
  • Refactor the HTTP Codec (#6)
  • Remove Param and simplify JSON
  • Add support for encoding and decoding multipart messages