swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

Filtering out primitives from AnyOf

Open inomn opened this issue 3 years ago • 6 comments
trafficstars

Good day. In my project we have a case with anyOf string | object

image

The current implementation of anyOf parsing excludes all primitives, but I want to keep them. Any ideas how it could be done?

p.s. on v10 worked well, generated origin: AddressCreationRequest | string;

Thanks.

inomn avatar Nov 15 '22 12:11 inomn

Hi @inomn !
Thanks for this issue! Fix that soon

js2me avatar Nov 15 '22 13:11 js2me

@js2me hi, cool, thanks!

inomn avatar Nov 16 '22 10:11 inomn

@js2me hi! any estimations on when this could be fixed?

inomn avatar Dec 06 '22 18:12 inomn

Is this still being worked on?

I'm seeing the same issue and it's preventing me from upgrading.

eysi09 avatar Feb 11 '23 23:02 eysi09

regression in 13.0.2

inomn avatar Jul 27 '23 17:07 inomn

still the case in 13.0.3

inomn avatar Oct 10 '23 13:10 inomn