Skip to content

Commit

Permalink
Property "StructDefinitionType.parent" (reference) description has ch…
Browse files Browse the repository at this point in the history
…anged 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."
  • Loading branch information
SDKgen-Bot committed Nov 17, 2024
1 parent 9cd1a30 commit bb97dd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/TypeSchema.Model/CollectionDefinitionType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

}

2 changes: 1 addition & 1 deletion src/TypeSchema.Model/CollectionPropertyType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

}

2 changes: 1 addition & 1 deletion src/TypeSchema.Model/ScalarPropertyType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

}

0 comments on commit bb97dd3

Please sign in to comment.