diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithMembers.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithMembers.g.cs index 5cbeb73..fdb79fc 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithMembers.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithMembers.g.cs @@ -9,8 +9,12 @@ namespace Ideogram public sealed partial class ColorPaletteWithMembers { /// - /// A list of ColorPaletteMembers that define the color palette. + /// A list of ColorPaletteMembers that define the color palette. Each color palette member
+ /// consists of a required color hex and an optional weight between 0.05 and 1.0 (inclusive).
+ /// It is recommended that these weights descend from highest to lowest for the color hexes provided.
+ /// Example: [, , , , ] ///
+ /// [, , , , ] [global::System.Text.Json.Serialization.JsonPropertyName("members")] [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Collections.Generic.IList Members { get; set; } @@ -25,7 +29,10 @@ public sealed partial class ColorPaletteWithMembers /// Initializes a new instance of the class. /// /// - /// A list of ColorPaletteMembers that define the color palette. + /// A list of ColorPaletteMembers that define the color palette. Each color palette member
+ /// consists of a required color hex and an optional weight between 0.05 and 1.0 (inclusive).
+ /// It is recommended that these weights descend from highest to lowest for the color hexes provided.
+ /// Example: [, , , , ] /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public ColorPaletteWithMembers( diff --git a/src/libs/Ideogram/openapi.yaml b/src/libs/Ideogram/openapi.yaml index 146641c..2c186e2 100644 --- a/src/libs/Ideogram/openapi.yaml +++ b/src/libs/Ideogram/openapi.yaml @@ -1271,7 +1271,23 @@ components: type: array items: $ref: '#/components/schemas/ColorPaletteMember' - description: A list of ColorPaletteMembers that define the color palette. + description: "A list of ColorPaletteMembers that define the color palette. Each color palette member\nconsists of a required color hex and an optional weight between 0.05 and 1.0 (inclusive).\nIt is recommended that these weights descend from highest to lowest for the color hexes provided.\n" + example: + - ColorPaletteMember: + color_hex: '#b470b3' + color_weight: 0.49 + - ColorPaletteMember: + color_hex: '#7a79e3' + color_weight: 0.16 + - ColorPaletteMember: + color_hex: '#a26563' + color_weight: 0.1 + - ColorPaletteMember: + color_hex: '#5c7d76' + color_weight: 0.07 + - ColorPaletteMember: + color_hex: '#642a9c' + color_weight: 0.05 description: A color palette represented only via its members ColorPaletteMembers: title: ColorPaletteMembers @@ -1280,7 +1296,23 @@ components: type: array items: $ref: '#/components/schemas/ColorPaletteMember' - description: A list of ColorPaletteMembers that define the color palette. + description: "A list of ColorPaletteMembers that define the color palette. Each color palette member\nconsists of a required color hex and an optional weight between 0.05 and 1.0 (inclusive).\nIt is recommended that these weights descend from highest to lowest for the color hexes provided.\n" + example: + - ColorPaletteMember: + color_hex: '#b470b3' + color_weight: 0.49 + - ColorPaletteMember: + color_hex: '#7a79e3' + color_weight: 0.16 + - ColorPaletteMember: + color_hex: '#a26563' + color_weight: 0.1 + - ColorPaletteMember: + color_hex: '#5c7d76' + color_weight: 0.07 + - ColorPaletteMember: + color_hex: '#642a9c' + color_weight: 0.05 ColorPaletteMember: title: ColorPaletteMember required: