Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit bebf1b8

Browse files
committed
Update to new API pattern
1 parent ebc617d commit bebf1b8

File tree

1 file changed

+24
-20
lines changed

1 file changed

+24
-20
lines changed

site/.vuepress/public/specs/api.yaml

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2476,6 +2476,7 @@ paths:
24762476
- $ref: '#/components/schemas/certificate'
24772477
required:
24782478
- success
2479+
- data
24792480
example:
24802481
success: true
24812482
'401':
@@ -3079,22 +3080,28 @@ components:
30793080
certificate:
30803081
type: object
30813082
properties:
3082-
commonName:
3083-
type: string
3084-
description: Common name
3085-
example: CommonName
3086-
country:
3087-
type: string
3088-
description: Country name
3089-
example: Brazil
3090-
organization:
3091-
type: string
3092-
description: Organization
3093-
example: Organization
3094-
organizationUnit:
3095-
type: string
3096-
description: Organization unit
3097-
example: organizationUnit
3083+
rootCert:
3084+
type: object
3085+
description: Data to generate root certificate
3086+
properties:
3087+
commonName:
3088+
type: string
3089+
description: Common name
3090+
example: CommonName
3091+
names:
3092+
type: array
3093+
description: Custom cert name options
3094+
items:
3095+
type: object
3096+
properties:
3097+
id:
3098+
type: string
3099+
description: Short identifier
3100+
example: C
3101+
value:
3102+
type: string
3103+
description: Value of ID
3104+
example: BR
30983105
cfsslUri:
30993106
type: string
31003107
description: CFSSL service URL
@@ -3107,9 +3114,6 @@ components:
31073114
type: boolean
31083115
description: Is CFSSL certificate generated?
31093116
required:
3110-
- commonName
3111-
- country
3112-
- organization
3113-
- organizationUnit
3117+
- rootCert
31143118
- cfsslUri
31153119
- configPath

0 commit comments

Comments
 (0)