- Notifications
You must be signed in to change notification settings - Fork907
Commit8afb10e
authored
chore: improve validation of Security tag in swaggerparser (#15660)
Aims toresolve#15605 There's currently one option valid for the `@Security` tag inswaggerparser - which fails in the CI if we try to put any other value.At least one of our endpoints does not accept `CoderSessionToken` as anoption for the authentication and so we need to add new possibilities inorder to keep the documentation up-to-date.In this PR , I added `ProvisionerKey` which is the way our provisionerdaemon can authenticate to the backend - also modified a bit the code tosimplify other options later.1 parent60ddcf5 commit8afb10e
File tree
5 files changed
+10
-6
lines changed- coderd
- apidoc
- coderdtest
- docs/reference/api
- enterprise/coderd
5 files changed
+10
-6
lines changedLines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
300 | 300 |
| |
301 | 301 |
| |
302 | 302 |
| |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
303 | 308 |
| |
304 | 309 |
| |
305 | 310 |
| |
| |||
308 | 313 |
| |
309 | 314 |
| |
310 | 315 |
| |
311 |
| - | |
| 316 | + | |
312 | 317 |
| |
313 | 318 |
| |
314 | 319 |
| |
|
Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
202 | 202 |
| |
203 | 203 |
| |
204 | 204 |
| |
205 |
| - | |
| 205 | + | |
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
|
0 commit comments
Comments
(0)