Skip to content

Commit 753c3ce

Browse files
committed
🧑‍💻 Add text to contents analysis detectors response API
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
1 parent af57f66 commit 753c3ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/api/openapi_detector_api.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ paths:
4444
- start: 15
4545
end: 25
4646
detection_type: pii
47+
text: foo@bar.com
4748
detection: EmailAddress
4849
score: 0.99
4950
- start: 105
5051
end: 116
52+
text: 123-456-7890
5153
detection_type: pii
5254
detection: SocialSecurity
5355
score: 0.99
@@ -539,6 +541,10 @@ components:
539541
type: integer
540542
title: End
541543
example: 26
544+
text:
545+
type: string
546+
title: Text
547+
example: foo@bar.com
542548
detection:
543549
type: string
544550
title: Detection

0 commit comments

Comments
 (0)