Skip to content

Releases: theoremlp/conjure-openapi

0.7.0

18 Aug 18:35
5e9f16e
Compare
Choose a tag to compare
Generate correct references to union wrappers (#16)

## Issue
Follow up to #15, I had correctly updated the names of the types that were being emitted but I did not update the names of the references in the outer Union type

## Summary
Generate correct references to union wrappers

## Test Plan

0.6.0

18 Aug 17:34
17a16a3
Compare
Choose a tag to compare
Support non-unique variants (#15)

## Issue
There was a bug where if multiple distinct unions had variants with the same names we would emit multiple classes with the same name

## Summary
Support non-unique variants

## Test Plan

0.5.0

09 Aug 21:12
4105f4d
Compare
Choose a tag to compare
Add support for external imports (#14)

## Issue
We encountered an issue in generator openAPI definitions with conjure imports. Turns out that code path was never implemented

## Summary
Add support for external imports

## Test Plan

0.4.0

13 Jun 17:08
00c2a30
Compare
Choose a tag to compare
Generate union wrappers with strict type fields (#11)

## Issue
We would previously generate a "Wrapper" object for each union variant with a field "type" of type "string". Unfortunately, that caused openApi generators to break because the discriminator field was not sufficiently defined to allow the variant to be identified

## Summary
Generate union wrappers with strict type fields

## Test Plan

0.3.0

13 Jun 15:52
ea64b60
Compare
Choose a tag to compare
Add support for binary field (#10)

0.2.0

05 Jun 15:36
7e059b5
Compare
Choose a tag to compare
Support any type (#9)

## Issue
We would previously throw an Exception if we ever encountered an `any` type in a Conjure Def. It turns out that OpenAPI supports an [`AnyType`](https://swagger.io/docs/specification/data-models/data-types/#any), so we should too

## Summary
Support any type

## Test Plan

0.1.0

18 Nov 15:33
a3d21e2
Compare
Choose a tag to compare
Add support for generating endpoint definitions (#7)

## Issue
We would completely ignore any ServiceDefinitions in the ConjureDefinition when converting to openApi.

## Summary
Add support for generating endpoint definitions

Since OpenApi doesn't have an idea of a "service" (i.e. a logical grouping of endpoints) we end up flattining all endpoints from all services into the "paths" 

## Test Plan

0.0.1

29 Sep 16:41
ca81b8c
Compare
Choose a tag to compare
Switch GHA runners (#4)

## Issue
Publish step wasn't running.

## Summary
Switches to using `ubuntu-latest`

## Test Plan