Skip to content

Commit

Permalink
fixes auth header around open api docs (#3536)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoroka authored Nov 1, 2022
1 parent a8a5875 commit 96fc679
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 104 deletions.
81 changes: 35 additions & 46 deletions docs/api/openapi3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -1280,7 +1280,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -1417,7 +1417,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -1553,7 +1553,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -1660,7 +1660,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -1787,7 +1787,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -1938,7 +1938,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -2043,7 +2043,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -2148,7 +2148,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -2395,7 +2395,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -2714,7 +2714,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -2905,7 +2905,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -3050,7 +3050,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -3155,7 +3155,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -3262,7 +3262,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -3392,7 +3392,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -3505,7 +3505,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -3610,7 +3610,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -3717,7 +3717,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -4007,7 +4007,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -4103,7 +4103,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -4223,7 +4223,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -4343,7 +4343,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -4448,7 +4448,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -4879,7 +4879,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -5037,7 +5037,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -5135,17 +5135,6 @@
"type": "string"
}
},
{
"in": "header",
"name": "Authorization",
"required": true,
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"type": "string"
}
},
{
"in": "path",
"name": "id",
Expand Down Expand Up @@ -5247,7 +5236,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -5371,7 +5360,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -5709,7 +5698,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -5968,7 +5957,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -6064,7 +6053,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -6216,7 +6205,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
}
Expand Down Expand Up @@ -6330,7 +6319,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -6435,7 +6424,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down Expand Up @@ -6541,7 +6530,7 @@
"schema": {
"description": "Bearer followed by your access key",
"example": "Bearer ACCESSKEY",
"format": "Bearer\\s[\\d|a-z]{10}.[\\d|a-z]{24}",
"format": "Bearer [\\da-zA-Z]{10}\\.[\\da-zA-Z]{24}",
"type": "string"
}
},
Expand Down
Loading

0 comments on commit 96fc679

Please sign in to comment.