Closed Bug 1950891 Opened 18 days ago Closed 18 days ago

Update url-parser-default-unknown-schemes-interventions json schema

Categories

(Cloud Services :: Server: Remote Settings, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: edgul, Assigned: acottner)

Details

I'm not totally sure how this happened, but it seems that the JSON schema has reverted to our first version (early-dev).

Currently remote settings prod and dev show the schema:

{
  "type": "object",
  "properties": {
    "schemes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Schemes",
      "description": "List of schemes to bypass"
    }
  },
  "description": "track common schemes that are known to cause breakage and thus should bypass the DefaultURI parser and use the previous default parser"
}

But it should actually show something like this (can someone also verify this json syntax is correct?):

{
  "type": "object",
  "properties": {
    "scheme": {
        "type": "string"
        "title": "Scheme",
        "description": "Single scheme to bypass"
    }
  },
  "description": "track common schemes that are known to cause breakage and thus should bypass the DefaultURI parser and use the previous default parser"
}

This syntax should align with some entries we already have in the collection and will make it so we don't have to manually change the JSON for future appends to this list.

Thanks!

Assignee: mathieu → acottner
Status: NEW → ASSIGNED

Opened pull-request, will get it deployed once approved: https://github.com/mozilla-services/remote-settings-permissions/pull/590

Merged and released.

Status: ASSIGNED → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.