Skip to content

Commit

Permalink
openapi: Fix response schema for PKI Issue requests
Browse files Browse the repository at this point in the history
  • Loading branch information
averche committed Jun 25, 2023
1 parent 5ebda5d commit 922daee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions builtin/logical/pki/path_issue_sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ func buildPathIssue(b *backend, pattern string, displayAttrs *framework.DisplayA
"serial_number": {
Type: framework.TypeString,
Description: `Serial Number`,
Required: false,
Required: true,
},
"expiration": {
Type: framework.TypeString,
Type: framework.TypeInt64,
Description: `Time of expiration`,
Required: false,
Required: true,
},
"private_key": {
Type: framework.TypeString,
Expand Down Expand Up @@ -163,7 +163,7 @@ func buildPathSign(b *backend, pattern string, displayAttrs *framework.DisplayAt
Required: true,
},
"expiration": {
Type: framework.TypeString,
Type: framework.TypeInt64,
Description: `Time of expiration`,
Required: true,
},
Expand Down Expand Up @@ -253,12 +253,12 @@ func buildPathIssuerSignVerbatim(b *backend, pattern string, displayAttrs *frame
"serial_number": {
Type: framework.TypeString,
Description: `Serial Number`,
Required: false,
Required: true,
},
"expiration": {
Type: framework.TypeString,
Type: framework.TypeInt64,
Description: `Time of expiration`,
Required: false,
Required: true,
},
"private_key": {
Type: framework.TypeString,
Expand Down

0 comments on commit 922daee

Please sign in to comment.