@Test
public void testStringSchemaFieldsForProducts() {

	String endpoint = "/v1.0/catalogs/{siteId}/product";
	Schema schema = _getSchema(endpoint, OASConstants.OPERATION_POST);
	List<Schema.Field> fields = schema.getFields();
	Assert.assertThat(fields.size(), equalTo(48));
	Schema.Field field = schema.getField("productType");
	Schema fieldSchema = AvroUtils.unwrapIfNullable(field.schema());
	Assert.assertTrue(
		"OAS string maps to AVRO string",
		AvroUtils.isSameType(fieldSchema, AvroUtils._string()));
	field = schema.getField("taxConfiguration_taxCategory");
	fieldSchema = AvroUtils.unwrapIfNullable(field.schema());
	Assert.assertTrue(
		"OAS string in nested object maps to AVRO string",
		AvroUtils.isSameType(fieldSchema, AvroUtils._string()));
	field = schema.getField("description");
	fieldSchema = AvroUtils.unwrapIfNullable(field.schema());
	Assert.assertTrue(
		"OAS dictionary maps to AVRO string",
		AvroUtils.isSameType(fieldSchema, AvroUtils._string()));
	field = schema.getField("expando");
	fieldSchema = AvroUtils.unwrapIfNullable(field.schema());
	Assert.assertTrue(
		"OAS free form object maps to AVRO string",
		AvroUtils.isSameType(fieldSchema, AvroUtils._string()));
	field = schema.getField("categories");
	fieldSchema = AvroUtils.unwrapIfNullable(field.schema());
	Assert.assertTrue(
		"OAS string maps to AVRO string",
		AvroUtils.isSameType(fieldSchema, AvroUtils._string()));
}