Skip to content

Commit b3ae5fc

Browse files
authored
clarify description for REST API (#454)
Signed-off-by: qwe638853 <[email protected]>
1 parent 09dc953 commit b3ae5fc

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

swagger/openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
{
218218
"name": "Authorization",
219219
"in": "header",
220-
"description": "**basic** <base64 encoding of userid:password> (OR) **token** <An enrollment token consisting of two base 64 encoded parts separated by a period: an enrollment certificate; a signature over the certificate and body of request>",
220+
"description": "**basic** <base64 encoding of userid:password> (OR) **token** <An enrollment token consisting of two base 64 encoded parts separated by a period: an enrollment certificate; a signature over the HTTP method, URL path, request body, and the certificate.>",
221221
"required": true,
222222
"schema": {
223223
"type": "string"
@@ -2022,7 +2022,7 @@
20222022
"enrollmentToken": {
20232023
"name": "Authorization",
20242024
"in": "header",
2025-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
2025+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
20262026
"required": true,
20272027
"schema": {
20282028
"type": "string"

swagger/swagger-fabric-ca.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
{
417417
"name": "Authorization",
418418
"in": "header",
419-
"description": "**basic** <base64 encoding of userid:password> (OR) **token** <An enrollment token consisting of two base 64 encoded parts separated by a period: an enrollment certificate; a signature over the certificate and body of request>",
419+
"description": "**basic** <base64 encoding of userid:password> (OR) **token** <An enrollment token consisting of two base 64 encoded parts separated by a period: an enrollment certificate; a signature over the HTTP method, URL path, request body, and the certificate.>",
420420
"required": true,
421421
"type": "string"
422422
},
@@ -706,7 +706,7 @@
706706
{
707707
"name": "Authorization",
708708
"in": "header",
709-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
709+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
710710
"required": true,
711711
"type": "string"
712712
},
@@ -882,7 +882,7 @@
882882
{
883883
"name": "Authorization",
884884
"in": "header",
885-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
885+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
886886
"required": true,
887887
"type": "string"
888888
},
@@ -1043,7 +1043,7 @@
10431043
{
10441044
"name": "Authorization",
10451045
"in": "header",
1046-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
1046+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
10471047
"required": true,
10481048
"type": "string"
10491049
},
@@ -1190,7 +1190,7 @@
11901190
{
11911191
"name": "Authorization",
11921192
"in": "header",
1193-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
1193+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
11941194
"required": true,
11951195
"type": "string"
11961196
},
@@ -1318,7 +1318,7 @@
13181318
{
13191319
"name": "Authorization",
13201320
"in": "header",
1321-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
1321+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
13221322
"required": true,
13231323
"type": "string"
13241324
}
@@ -1404,7 +1404,7 @@
14041404
{
14051405
"name": "Authorization",
14061406
"in": "header",
1407-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
1407+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
14081408
"required": true,
14091409
"type": "string"
14101410
},
@@ -1541,7 +1541,7 @@
15411541
{
15421542
"name": "Authorization",
15431543
"in": "header",
1544-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
1544+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
15451545
"required": true,
15461546
"type": "string"
15471547
}
@@ -1634,7 +1634,7 @@
16341634
{
16351635
"name": "Authorization",
16361636
"in": "header",
1637-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
1637+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
16381638
"required": true,
16391639
"type": "string"
16401640
},
@@ -1762,7 +1762,7 @@
17621762
{
17631763
"name": "Authorization",
17641764
"in": "header",
1765-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
1765+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
17661766
"required": true,
17671767
"type": "string"
17681768
}
@@ -1850,7 +1850,7 @@
18501850
{
18511851
"name": "Authorization",
18521852
"in": "header",
1853-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
1853+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
18541854
"required": true,
18551855
"type": "string"
18561856
}
@@ -1995,7 +1995,7 @@
19951995
{
19961996
"name": "Authorization",
19971997
"in": "header",
1998-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
1998+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
19991999
"required": true,
20002000
"type": "string"
20012001
},
@@ -2206,7 +2206,7 @@
22062206
{
22072207
"name": "Authorization",
22082208
"in": "header",
2209-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
2209+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
22102210
"required": true,
22112211
"type": "string"
22122212
}
@@ -2346,7 +2346,7 @@
23462346
{
23472347
"name": "Authorization",
23482348
"in": "header",
2349-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
2349+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
23502350
"required": true,
23512351
"type": "string"
23522352
},
@@ -2551,7 +2551,7 @@
25512551
{
25522552
"name": "Authorization",
25532553
"in": "header",
2554-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
2554+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
25552555
"required": true,
25562556
"type": "string"
25572557
}
@@ -2685,7 +2685,7 @@
26852685
{
26862686
"name": "Authorization",
26872687
"in": "header",
2688-
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the certificate and body of request.",
2688+
"description": "An enrollment token consisting of two base 64 encoded parts separated by a period: \n* an enrollment certificate; \n* a signature over the HTTP method, URL path, request body, and the certificate.",
26892689
"required": true,
26902690
"type": "string"
26912691
},

0 commit comments

Comments
 (0)