Bungie-net/api

DestinyRecordTitleBlock titlesByGender incorrect type definition

CaptnBlubber opened this issue · 0 comments

Just wanted to bring to your attention that the declared type for the dictionary key as declared in the schema is incorrect:

"Destiny.Definitions.Records.DestinyRecordTitleBlock": {
        "type": "object",
        "properties": {
          "hasTitle": {
            "type": "boolean"
          },
          "titlesByGender": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "x-dictionary-key": {
              "type": "integer",
              "format": "int32",
              "x-enum-reference": {
                "$ref": "#/components/schemas/Destiny.DestinyGender"
              },
              "x-enum-is-bitmask": false
            }
          },

The schema hints that the Gender will be displayed as integer, however instead it is displayed as String:

Example is the Conqueror Record (hash: 3464275895)

...
"titleInfo": {
    "hasTitle": true,
    "titlesByGender": {
      "Male": "Conqueror",
      "Female": "Conqueror"
    },