Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-15927

Swagger: "size" field on "repository" type needs to be int64

    XMLWordPrintable

Details

    Description

      We have a repository which have the following size field:

      #!json
      
      "size": 3002598939,
      

      This value is too big for an integer in Java. The repository is large because it uses LFS.

      This is not supported by the current Swagger definition, since it looks like this:

      #!json
      
      "size": {
                    "type": "integer"
                  },
      

      The definition needs to be changed to:

      #!json
      
      "size": {
                    "type": "integer",
                    "format": "int64"
                  },
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            894b7a59c93b Christian Uldall Pedersen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: