Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
2.0.4
-
None
-
None
Description
The Open API security scheme is defined at a global level.
{
"openapi": "3.0.2",
"info": {
"title": "Search API",
"version": "1.0.0",
"description": "API to add to and delete from index"
},
...
...
"components": {
...
...
"securitySchemes": {
"adb2cBearerToken": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
},
"headers": {},
"responses": {},
"parameters": {}
},
"tags": [],
"security": [
{
"adb2cBearerToken": []
}
]
}
The OpenApiDefinitionMapper doesn't seem to consider this as a possibility and there is no way to explicitly define a security scheme in the definition file. Ultimately that leaves the security scheme set as null.
Checklists
Acceptance criteria