Skip to content

Releases: CubicrootXYZ/openapi-code-sample-generator

v0.5.3 Dependency updates

18 May 07:47

Choose a tag to compare

Changelog

  • update golang to 1.22
  • update kin-openapi
  • use actions from CubicrootXYZ/Workflows

v0.5.2 Clean up dependencies and code

27 Mar 19:09

Choose a tag to compare

Changelog

  • Remove io/utils
  • Clean up code

v0.5.1 Go 1.20 update

27 Mar 18:46

Choose a tag to compare

Changelog

  • Update to go 1.20
  • Update several dependencies

v0.4.1 New tag scheme & javascript native json

23 Jul 13:11
c7aa25e

Choose a tag to compare

Features

  • Javascript uses now native JSON representation

Changelog

  • Version tags start now with v, e.g. v0.4.1

v0.4.0 Templating

30 May 17:50
1eb0175

Choose a tag to compare

Changelog

  • Moved to golang templates
  • Added tests for proper templating

v0.3.0 JavaScript and language selection

30 Apr 17:13
8afe8cb

Choose a tag to compare

Features

  • JavaScript samples are now supported
  • New --languages php,js,curl flag to select language examples (defaults to all available languages)

Changelog

  • Added new languages flag
  • Added JavaScript samples
  • Fixed missing query authentication for PHP

v0.2.2 Embedding

12 Dec 16:34

Choose a tag to compare

Features

  • Add support for embedded data structures

Changelog

  • Added support for allOf, anyOf, oneOf embedding

v0.2.1

13 Nov 15:47

Choose a tag to compare

Features

Changelog

  • Fix single quote being shown for unknown content type

v0.2.0 Broad content type support

24 Oct 17:21

Choose a tag to compare

Features

  • add broad content type support
  • add converter from V2 to V3

Changelog

  • Bump kin-openapi to fix issue with host url
  • Add new convert command (dirty - needs to be cleaned)
  • Add more content types

v0.1.0 Basic Curl Features

10 Oct 17:31

Choose a tag to compare

Features

  • Basic curl samples including:
    • header, path, query and cookie parameters
    • request body
    • security schemes (authentication)
  • Support for more encodings:
    • JSON
    • XML

Changelog

  • Move extractor to abstract interface
  • Move generators to abstract interfaces
  • Add more encodings
  • Rework code to dedublicate and make more generic
  • Make module fetchable via github directly
  • Update README