diff --git a/src/Qowaiv.CodeGeneration.OpenApi/OpenApiTypeResolver.ResolvePrimitives.cs b/src/Qowaiv.CodeGeneration.OpenApi/OpenApiTypeResolver.ResolvePrimitives.cs index 688f5a3..a593612 100644 --- a/src/Qowaiv.CodeGeneration.OpenApi/OpenApiTypeResolver.ResolvePrimitives.cs +++ b/src/Qowaiv.CodeGeneration.OpenApi/OpenApiTypeResolver.ResolvePrimitives.cs @@ -20,7 +20,7 @@ public partial class OpenApiTypeResolver /// contains any items. /// [Pure] - protected Type? ResolveEnum(ResolveOpenApiSchema schema) + protected Enumeration? ResolveEnum(ResolveOpenApiSchema schema) { if (ResolveName(schema, ResolveTypeName.Enum) is not { } nameType) return null; diff --git a/src/Qowaiv.CodeGeneration.OpenApi/OpenApiTypeResolver.ResolveType.cs b/src/Qowaiv.CodeGeneration.OpenApi/OpenApiTypeResolver.ResolveType.cs index a898079..b0a7780 100644 --- a/src/Qowaiv.CodeGeneration.OpenApi/OpenApiTypeResolver.ResolveType.cs +++ b/src/Qowaiv.CodeGeneration.OpenApi/OpenApiTypeResolver.ResolveType.cs @@ -20,7 +20,7 @@ _ when schema.Enum.Any() /*.*/ => ResolveEnum(schema), /// Resolves the for . [Pure] - private Type ResolveObject(ResolveOpenApiSchema schema) + private Class ResolveObject(ResolveOpenApiSchema schema) { var data = GetTypeData(schema);