git.iko.soy/typeable/openapi3
on master help sign in
Fix HasSchemaCommon instance for Schema
d3ea08dNickolay Kudasov
src/Data/Swagger/Lens.hs+1−1
@@ -60,7 +60,7 @@ instance HasDescription ExternalDocs (Maybe Text) where description = external
60class HasSchemaCommon s where
60class HasSchemaCommon s where
61 schemaCommon :: Lens' s SchemaCommon
61 schemaCommon :: Lens' s SchemaCommon
62
62
63−instance HasSchemaCommon Schema where schemaCommon = schemaCommon
63+instance HasSchemaCommon Schema where schemaCommon = schemaSchemaCommon
64instance HasSchemaCommon ParameterOtherSchema where schemaCommon = parameterOtherSchemaCommon
64instance HasSchemaCommon ParameterOtherSchema where schemaCommon = parameterOtherSchemaCommon
65instance HasSchemaCommon Items where schemaCommon = itemsCommon
65instance HasSchemaCommon Items where schemaCommon = itemsCommon
66instance HasSchemaCommon Header where schemaCommon = headerCommon
66instance HasSchemaCommon Header where schemaCommon = headerCommon