Skip to content

Releases: alexsomesan/openapi-cty

IntOrString => cty.DynamicPseudotype

14 Oct 13:30
3b1c383
Compare
Choose a tag to compare

Type IntOrString from OpenAPI transforms into cty.DynamicPseudotype

Resolve JSONSchemaProps recursion

23 Jul 19:11
9dfedd8
Compare
Choose a tag to compare

Also, this release introduces a cache for partial types to speed things up a little.

Resolve "io.k8s.apimachinery.pkg.util.intstr.IntOrString" to cty.Number

27 May 13:17
Compare
Choose a tag to compare

This release prototypes an overriding mechanism for "hinting" the type certain OpenAPI IDs should resolve to.

Generation of Maps and Lists

26 May 21:29
Compare
Choose a tag to compare
Pre-release

This release introduces generation of native maps and lists, as follows:

  • JSON schema objects types where the additionalProperties attribute is defined result in cty.Map
  • JSON schema array types result in cty.List

Uses github.com/hashicorp/go-cty

24 Apr 17:27
Compare
Choose a tag to compare
Pre-release
v0.0.2

Migrate to using github.com/hashicorp/go-cty

Test release - not for production use

23 Apr 20:14
Compare
Choose a tag to compare
Pre-release
v0.0.1

array should translate to cty.Tuple