Better validation of api_types
bump version