Update OpenAPI responses to include information the UI can use (#6204)

This commit is contained in:
madalynrose
2019-02-14 12:42:44 -05:00
committed by GitHub
parent 50c7797984
commit d8e9adc9d3
23 changed files with 218 additions and 61 deletions

View File

@@ -25,14 +25,17 @@ func pathConfig(b *backend) *framework.Path {
Description: `The API endpoint to use. Useful if you
are running GitHub Enterprise or an
API-compatible authentication server.`,
DisplayName: "Base URL",
},
"ttl": &framework.FieldSchema{
Type: framework.TypeString,
Description: `Duration after which authentication will be expired`,
DisplayName: "TTL",
},
"max_ttl": &framework.FieldSchema{
Type: framework.TypeString,
Description: `Maximum duration after which authentication will be expired`,
DisplayName: "Max TTL",
},
},