Haskell-OpenAPI-Client-Code-Generator
Haskell-OpenAPI-Client-Code-Generator copied to clipboard
Vital Fixes
A couple things I changed here:
- I added an option to output all schemas. We have types that come through in a Websocket which I added to the spec. The default behavior is to not include schemas unless they are part of an operation.
- Newtypes, which wrap a single ref, weren't getting type aliased correctly. I think I did that now.
components:
schemas:
NewtypeFoo:
description: Wrapper for a foo.
$ref: '#/components/schemas/InnerFoo'