cf-abacus icon indicating copy to clipboard operation
cf-abacus copied to clipboard

API Doc Json schema is old version.

Open mxxPark opened this issue 7 years ago • 3 comments

think "windows" of Json schema(A) is old version, is B valid?

A

"windows": {
      "type": "array",
      "items": {
        "title": "cwindow",
        "type": "object",
        "properties": {
          "charge": {
            "type": "number"
          }
        }

B

"windows": {
      "type": "array",
      "items": {
        "type": "array",
          "items": {
            "title": "cwindow",
            "type": "object",
            "properties": {
              "charge": {
                "type": "number"
              }
            }
          }
      }
    }

mxxPark avatar Jul 13 '16 01:07 mxxPark

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/126193819

The labels on this github issue will be updated when the story is started.

cf-gitbot avatar Jul 13 '16 01:07 cf-gitbot

@mxxPark Can you share me the link from where you got schema A.

Schema B is valid.

rajkiranrbala avatar Jul 23 '16 04:07 rajkiranrbala

@rajkiranrbala Usage summary report's JSON schema at https://github.com/cloudfoundry-incubator/cf-abacus/blob/master/doc/api.md#L1178-L1194

mxxPark avatar Jul 25 '16 00:07 mxxPark