{
+ if (checked) {
+ setSelectedMethods([
+ ...selectedMethods,
+ method.value as EndpointType,
+ ]);
+ } else {
+ setSelectedMethods(
+ selectedMethods.filter(
+ selectedMethod => selectedMethod !== method.value
+ )
+ );
+ }
+ }}
+ />,
+
+ {endpointDefinition?.exists ? (
+
+ {method.label}{' '}
+
+
+ ) : (
+ method.label
+ )}
+
,
+
+ {endpointDefinition?.restEndpoint?.methods?.join(', ')}
+ ,
+ /{endpointDefinition?.restEndpoint?.url ?? 'N/A'}
,
+ ];
+ })}
+ />
+ )}
+ {filteredEndpoints.length === 0 && (
+
- {endpointDefinition?.exists ? (
-
- {method.label}{' '}
-
-
- ) : (
- method.label
- )}
-