#OpenAPI generated enums with <any>

2 messages · Page 1 of 1 (latest)

hollow geode
#

I've got (generated) code that looks like:

enum CarBrand {
 TOYOTA = <any>'TOYOTA',
 FORD = <any>'FORD'
}

What is the purpose of the <any> part here? Does it have any drawbacks if its written like that?

lapis schooner
#

it's useless and harmful