Map application OpenAPI specs
/api/v1/oas/{appId}/mapping Toggle includes an OpenAPI specification from a repository source with the specified application.
Requires
write:scan_configpermission.
Path parameters
appIdstring · uuidrequiredUUID identifier for this StackHawk Application.
Body
The applicationId to map the oas specs
Whether the spec is now included or now excluded from the application mapping
UUID of the hosted OAS files
Repository UUID
Source code path in repository from the OAS
Response
Get the OAS specs mapped to this application for use with HawkScan.
The requested applicationId
OASAssets that have been mapped included to this application
repository IDs mapped to this application
Bad Request
Unauthorized