Skip to content

Wrong account.getProfileInfo response  #223

Description

@elias506

account_user_settings object has json description:

"account_user_settings": {
      "type": "object",
      "allOf": [
        {
          "$ref": "objects.json#/definitions/users_user_min"
        },
        {
          "$ref": "objects.json#/definitions/users_user_settings_xtr"
        },
        {
          "properties": {
            "photo_200": {
              "type": "string",
              "format": "uri",
              "description": "URL of square photo of the user with 200 pixels in width"
            },
            "is_service_account": {
              "type": "boolean",
              "description": "flag about service account"
            }
          }
        }
      ],
      "additionalProperties": false
    },

and used in account_getProfileInfo_response response object:

"account_getProfileInfo_response": {
      "type": "object",
      "properties": {
        "response": {
          "$ref": "objects.json#/definitions/account_user_settings",
          "required": true
        }
      },
      "additionalProperties": false
    },

But users_user_min and users_user_settings_xtr objects have same last_name and first_name fields. Besides account.getProfileInfo method do not need users_user_min object in allOf

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions