Skip to content

Commit

Permalink
Merge pull request #233 from LibreSign/update-swagger
Browse files Browse the repository at this point in the history
Update swagger
  • Loading branch information
vitormattos committed May 14, 2021
2 parents ec9e7d4 + 1f57c0e commit 1104285
Showing 1 changed file with 3 additions and 27 deletions.
30 changes: 3 additions & 27 deletions docs/.vuepress/public/specs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -701,13 +701,12 @@ paths:
type: string
description: Description of the failure that occurred
example: User 0 needs an email address
/signature/generate:
/account/signature:
post:
tags:
- sign
summary: Generates signature key
description: Generates the personal signature key
deprecated: true
security:
- basicAuth: []
requestBody:
Expand All @@ -716,30 +715,6 @@ paths:
schema:
type: object
properties:
commonName:
type: string
description: Common name
example: CommonName
country:
type: string
description: Country name
example: Brazil
organization:
type: string
description: Organization
example: Organization
organizationUnit:
type: string
description: Organization unit
example: organizationUnit
hosts:
type: array
description: Not used
example: []
path:
type: string
description: Path to save pfx file
example: /LibreSign
password:
type: string
format: password
Expand All @@ -766,7 +741,8 @@ paths:
properties:
message:
type: string
description: Parameter 'country' is required
description: Password to sign is mandatory
example: Password to sign is mandatory
/admin/certificate:
post:
tags:
Expand Down

0 comments on commit 1104285

Please sign in to comment.