File tree Expand file tree Collapse file tree 4 files changed +2
-14
lines changed Expand file tree Collapse file tree 4 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,6 @@ const docTemplate = `{
27
27
"paths": {
28
28
"/": {
29
29
"get": {
30
- "security": [
31
- {
32
- "CoderSessionToken": []
33
- }
34
- ],
35
30
"produces": [
36
31
"application/json"
37
32
],
Original file line number Diff line number Diff line change 19
19
"paths" : {
20
20
"/" : {
21
21
"get" : {
22
- "security" : [
23
- {
24
- "CoderSessionToken" : []
25
- }
26
- ],
27
22
"produces" : [" application/json" ],
28
23
"tags" : [" General" ],
29
24
"summary" : " API root handler" ,
Original file line number Diff line number Diff line change 9
9
10
10
// @Summary API root handler
11
11
// @ID api-root-handler
12
- // @Security CoderSessionToken
13
12
// @Produce json
14
13
// @Tags General
15
14
// @Success 200 {object} codersdk.Response
Original file line number Diff line number Diff line change 9
9
``` shell
10
10
# Example request using curl
11
11
curl -X GET http://coder-server:8080/api/v2/ \
12
- -H ' Accept: application/json' \
13
- -H ' Coder-Session-Token: API_KEY'
12
+ -H ' Accept: application/json'
14
13
15
14
```
16
15
@@ -39,7 +38,7 @@ curl -X GET http://coder-server:8080/api/v2/ \
39
38
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------ |
40
39
| 200 | [ OK] ( https://tools.ietf.org/html/rfc7231#section-6.3.1 ) | OK | [ codersdk.Response] ( schemas.md#codersdkresponse ) |
41
40
42
- To perform this operation, you must be authenticated by means of one of the following methods: ** CoderSessionToken ** .
41
+ undefined
43
42
44
43
## Build info
45
44
You can’t perform that action at this time.
0 commit comments