Add tests to cover all enum scenarios for OpenAPI (#67485)