September 11, 2024

0.41.10

(feat): Adds availability and display-names to discriminated union values. Now, in your docs, you can mark your union values with custom names and show their availability. You can do so by adding the following to your API definition:

1MyUnionType:
2 union:
3 UnionValue1:
4 docs: The first union value
5 type: string
6 display-name: Union Value One
7 availability: beta
8 UnionValue2:
9 docs: The second union value
10 type: integer
11 display-name: Union Value Two
12 availability: deprecated