We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2877d80 commit 844339cCopy full SHA for 844339c
src/ApiMethodDocumentation.js
@@ -426,6 +426,13 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
426
return []
427
}
428
429
+ /**
430
+ * Filters the methodSecurity array to remove elements that have the same '@id' as the elements in the serversSecurity array.
431
+ *
432
+ * @param {object[]} methodSecurity - The array of method security objects.
433
+ * @param {object[]} serversSecurity - The array of server security objects.
434
+ * @returns {object[]} The filtered methodSecurity array with unique elements based on the '@id' key.
435
+ */
436
_computeAsyncSecurityMethod(methodSecurity,serversSecurity){
437
if(!Array.isArray(methodSecurity) || !Array.isArray(serversSecurity)){
438
0 commit comments