From bb97dd33de6b844617ff46663a9c7154e0643275 Mon Sep 17 00:00:00 2001 From: SDKgen-Bot Date: Sun, 17 Nov 2024 22:16:13 +0000 Subject: [PATCH] Property "StructDefinitionType.parent" (reference) description has changed from "" to "Defines a parent type for this structure. Some programming languages like Go do not support the concept of an extends, in this case the code generator simply copies all properties into this structure." Property "StructDefinitionType.properties" (map) description has changed from "" to "Contains a map of available properties for this struct." Property "StructDefinitionType.mapping" (map) description has changed from "" to "In case a discriminator is configured it is required to configure a mapping. The mapping is a map where the key is the type name and the value the actual discriminator type value." Property "MapDefinitionType.type" was removed Property "ArrayDefinitionType.type" was removed Property "StringPropertyType.type" was removed Property "IntegerPropertyType.type" was removed Property "NumberPropertyType.type" was removed Property "BooleanPropertyType.type" was removed Property "MapPropertyType.type" was removed Property "ArrayPropertyType.type" was removed Property "AnyPropertyType.type" was removed Property "GenericPropertyType.type" was removed Property "ReferencePropertyType.type" was removed Property "ReferencePropertyType.template" (map) description has changed from "" to "A map where the key is the name of the generic and the value must point to a key under the definitions keyword. This can be used in case the target points to a type which contains generics, then it is possible to replace those generics with a concrete type." --- src/TypeSchema.Model/CollectionDefinitionType.cs | 2 +- src/TypeSchema.Model/CollectionPropertyType.cs | 2 +- src/TypeSchema.Model/ScalarPropertyType.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TypeSchema.Model/CollectionDefinitionType.cs b/src/TypeSchema.Model/CollectionDefinitionType.cs index 9ce56d0..6bb2fc0 100644 --- a/src/TypeSchema.Model/CollectionDefinitionType.cs +++ b/src/TypeSchema.Model/CollectionDefinitionType.cs @@ -14,7 +14,7 @@ public abstract class CollectionDefinitionType : DefinitionType public PropertyType? Schema { get; set; } [JsonPropertyName("type")] - public string? Type { get; set; } + public new string? Type { get; set; } } diff --git a/src/TypeSchema.Model/CollectionPropertyType.cs b/src/TypeSchema.Model/CollectionPropertyType.cs index f169aeb..e49686b 100644 --- a/src/TypeSchema.Model/CollectionPropertyType.cs +++ b/src/TypeSchema.Model/CollectionPropertyType.cs @@ -14,7 +14,7 @@ public abstract class CollectionPropertyType : PropertyType public PropertyType? Schema { get; set; } [JsonPropertyName("type")] - public string? Type { get; set; } + public new string? Type { get; set; } } diff --git a/src/TypeSchema.Model/ScalarPropertyType.cs b/src/TypeSchema.Model/ScalarPropertyType.cs index dac858e..32851af 100644 --- a/src/TypeSchema.Model/ScalarPropertyType.cs +++ b/src/TypeSchema.Model/ScalarPropertyType.cs @@ -13,7 +13,7 @@ namespace TypeSchema.Model; public abstract class ScalarPropertyType : PropertyType { [JsonPropertyName("type")] - public string? Type { get; set; } + public new string? Type { get; set; } }