Releases: alexsomesan/openapi-cty
Releases · alexsomesan/openapi-cty
IntOrString => cty.DynamicPseudotype
Type IntOrString
from OpenAPI transforms into cty.DynamicPseudotype
Resolve JSONSchemaProps recursion
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
This release prototypes an overriding mechanism for "hinting" the type certain OpenAPI IDs should resolve to.
Generation of Maps and Lists
This release introduces generation of native maps and lists, as follows:
- JSON schema objects types where the
additionalProperties
attribute is defined result incty.Map
- JSON schema
array
types result incty.List
Uses github.com/hashicorp/go-cty
v0.0.2 Migrate to using github.com/hashicorp/go-cty
Test release - not for production use
v0.0.1 array should translate to cty.Tuple