When an OpenAPI specification defines a enum schema with type: string and this schema is used in a requestBody, the Java generator produces an API interface method where the parameter is typed as java ...