Add security, and server declaration

This commit is contained in:
matt-ramirez-sp
2023-08-16 13:49:48 -04:00
parent 40500554b2
commit 62a3d42ec7

View File

@@ -5,6 +5,13 @@ info:
description: The Lifecycle API can be used to access and modify various resources in your environment. description: The Lifecycle API can be used to access and modify various resources in your environment.
license: license:
name: MIT name: MIT
servers:
- url: https://{tenantName}.nonemployee.com/api
variables:
tenantName:
description: Tenant name assigned to customer
paths: paths:
# Users # Users
/user: /user:
@@ -116,4 +123,14 @@ paths:
$ref: "./paths/advanced_search_id_run.yaml" $ref: "./paths/advanced_search_id_run.yaml"
# Jobs # Jobs
/job_status: /job_status:
$ref: "./paths/job_status.yaml" $ref: "./paths/job_status.yaml"
security:
BearerAuth: []
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: Token token=<your token>