From ef2bb95b8d5b545b6561251ce174b7412f7c8103 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Sat, 25 Apr 2026 00:33:36 +0200 Subject: [PATCH 1/3] openapi3: tests flakiness corrected Signed-off-by: Pierre Fenoll --- ...services_Training_3_0_openapi_yaml__validate | 9 +++++++++ ...services_Training_3_1_openapi_yaml__validate | 17 +++++++++++++++++ ...services_Training_3_2_openapi_yaml__validate | 17 +++++++++++++++++ .../mist_com_0_37_7_openapi_yaml__validate | 1 + ...hm_gov_in_ndhm_cm_0_5_openapi_yaml__validate | 9 +++++++++ ...exmo_com_voice_1_3_10_openapi_yaml__validate | 10 ++++++++++ openapi3/v3_apis_guru_openapi_directory_test.go | 15 +++------------ 7 files changed, 66 insertions(+), 12 deletions(-) create mode 100644 openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate create mode 100644 openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate create mode 100644 openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate create mode 100644 openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate create mode 100644 openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate create mode 100644 openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate new file mode 100644 index 000000000..4df9de8a7 --- /dev/null +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate @@ -0,0 +1,9 @@ +invalid paths: invalid path /projects/{projectId}/images/tagged/count: invalid operation GET: example Successful GetTaggedImageCount request: value must be an integer +Schema: + { + "format": "int32", + "type": "integer" + } + +Value: + "10" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate new file mode 100644 index 000000000..028a2ecb1 --- /dev/null +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate @@ -0,0 +1,17 @@ +invalid paths: invalid path /projects/{projectId}/images/suggested: invalid operation POST: example Successful QuerySuggestedImages request: Error at "/token/sortBy": value is not one of the allowed values ["UncertaintyAscending","UncertaintyDescending"] +Schema: + { + "description": "OrderBy. Ordering mechanism for your results.", + "enum": [ + "UncertaintyAscending", + "UncertaintyDescending" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "SortBy" + } + } + +Value: + "Newest" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate new file mode 100644 index 000000000..028a2ecb1 --- /dev/null +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate @@ -0,0 +1,17 @@ +invalid paths: invalid path /projects/{projectId}/images/suggested: invalid operation POST: example Successful QuerySuggestedImages request: Error at "/token/sortBy": value is not one of the allowed values ["UncertaintyAscending","UncertaintyDescending"] +Schema: + { + "description": "OrderBy. Ordering mechanism for your results.", + "enum": [ + "UncertaintyAscending", + "UncertaintyDescending" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "SortBy" + } + } + +Value: + "Newest" diff --git a/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate new file mode 100644 index 000000000..4aae04ff9 --- /dev/null +++ b/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate @@ -0,0 +1 @@ +invalid paths: invalid path /api/v1/sites/{site_id}/devices/{device_id}: invalid operation PUT: invalid example: input matches more than one oneOf schemas diff --git a/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate new file mode 100644 index 000000000..98995445e --- /dev/null +++ b/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate @@ -0,0 +1,9 @@ +invalid components: schema "HealthInformationNotification": invalid example: value must be a string +Schema: + { + "example": 100005, + "type": "string" + } + +Value: + 100005 diff --git a/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate new file mode 100644 index 000000000..9840f7044 --- /dev/null +++ b/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate @@ -0,0 +1,10 @@ +invalid components: schema "DTMFRequest": invalid example: value must be a string +Schema: + { + "description": "The digits to send", + "example": 1713, + "type": "string" + } + +Value: + 1713 diff --git a/openapi3/v3_apis_guru_openapi_directory_test.go b/openapi3/v3_apis_guru_openapi_directory_test.go index 85fb6071f..d26401a95 100644 --- a/openapi3/v3_apis_guru_openapi_directory_test.go +++ b/openapi3/v3_apis_guru_openapi_directory_test.go @@ -189,18 +189,9 @@ func TestV3ApisGuruOpenapiDirectory(t *testing.T) { func disabled(shortName string) bool { switch shortName { case "vvv keep these", - "flat_io_2_13_0_openapi_yaml", // TODO: flaky - "microsoft_com_cognitiveservices_Prediction_3_0_openapi_yaml", // TODO: flaky - "microsoft_com_cognitiveservices_Training_3_0_openapi_yaml", // TODO: flaky - "microsoft_com_cognitiveservices_Training_3_1_openapi_yaml", // TODO: flaky - "microsoft_com_cognitiveservices_Training_3_2_openapi_yaml", // TODO: flaky - "mist_com_0_37_7_openapi_yaml", // TODO: flaky - "ndhm_gov_in_ndhm_cm_0_5_openapi_yaml", // TODO: flaky - "nexmo_com_voice_1_3_10_openapi_yaml", // TODO: flaky - "nordigen_com_2_0__v2__openapi_yaml", // TODO: YAML dates in map keys https://github.com/invopop/yaml/issues/10 - "optimade_local_1_1_0_develop_openapi_yaml", // TODO: flaky - "unicourt_com_1_0_0_openapi_yaml", // TODO: YAML dates in map keys https://github.com/invopop/yaml/issues/10 - "zuora_com_2021_08_20_openapi_yaml", // TODO: YAML dates in map keys https://github.com/invopop/yaml/issues/10 + "nordigen_com_2_0__v2__openapi_yaml", // TODO: YAML dates in map keys https://github.com/invopop/yaml/issues/10 + "unicourt_com_1_0_0_openapi_yaml", // TODO: YAML dates in map keys https://github.com/invopop/yaml/issues/10 + "zuora_com_2021_08_20_openapi_yaml", // TODO: YAML dates in map keys https://github.com/invopop/yaml/issues/10 "^^^ lines sorted": return true } From f789d0c5a40566ab1ed29f5fddb9e52e355cfc51 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Mon, 27 Apr 2026 11:32:01 +0200 Subject: [PATCH 2/3] try Signed-off-by: Pierre Fenoll --- .../flat_io_2_13_0_openapi_yaml__validate | 1 + ...vices_Prediction_3_0_openapi_yaml__validate | 1 + ...ervices_Training_3_0_openapi_yaml__validate | 10 +--------- ...ervices_Training_3_1_openapi_yaml__validate | 18 +----------------- ...ervices_Training_3_2_openapi_yaml__validate | 18 +----------------- .../mist_com_0_37_7_openapi_yaml__validate | 2 +- ...m_gov_in_ndhm_cm_0_5_openapi_yaml__validate | 10 +--------- ...xmo_com_voice_1_3_10_openapi_yaml__validate | 11 +---------- ..._local_1_1_0_develop_openapi_yaml__validate | 1 + 9 files changed, 9 insertions(+), 63 deletions(-) create mode 100644 openapi3/testdata/apis_guru_openapi_directory/flat_io_2_13_0_openapi_yaml__validate create mode 100644 openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Prediction_3_0_openapi_yaml__validate create mode 100644 openapi3/testdata/apis_guru_openapi_directory/optimade_local_1_1_0_develop_openapi_yaml__validate diff --git a/openapi3/testdata/apis_guru_openapi_directory/flat_io_2_13_0_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/flat_io_2_13_0_openapi_yaml__validate new file mode 100644 index 000000000..540d8e223 --- /dev/null +++ b/openapi3/testdata/apis_guru_openapi_directory/flat_io_2_13_0_openapi_yaml__validate @@ -0,0 +1 @@ +invalid components: schema "ScoreTrack": invalid example: Error at "/measureUuid": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Prediction_3_0_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Prediction_3_0_openapi_yaml__validate new file mode 100644 index 000000000..fd903caaa --- /dev/null +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Prediction_3_0_openapi_yaml__validate @@ -0,0 +1 @@ +invalid paths: invalid path /{projectId}/detect/iterations/{publishedName}/image: invalid operation POST: example Successful DetectImage request: Error at "/id": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" | Error at "/project": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate index 4df9de8a7..ddae3c664 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate @@ -1,9 +1 @@ -invalid paths: invalid path /projects/{projectId}/images/tagged/count: invalid operation GET: example Successful GetTaggedImageCount request: value must be an integer -Schema: - { - "format": "int32", - "type": "integer" - } - -Value: - "10" +invalid paths: invalid path /projects/{projectId}/images/regions: invalid operation DELETE: Successful DeleteImageRegions request: Error at "/0": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate index 028a2ecb1..ddae3c664 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate @@ -1,17 +1 @@ -invalid paths: invalid path /projects/{projectId}/images/suggested: invalid operation POST: example Successful QuerySuggestedImages request: Error at "/token/sortBy": value is not one of the allowed values ["UncertaintyAscending","UncertaintyDescending"] -Schema: - { - "description": "OrderBy. Ordering mechanism for your results.", - "enum": [ - "UncertaintyAscending", - "UncertaintyDescending" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "SortBy" - } - } - -Value: - "Newest" +invalid paths: invalid path /projects/{projectId}/images/regions: invalid operation DELETE: Successful DeleteImageRegions request: Error at "/0": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate index 028a2ecb1..ddae3c664 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate @@ -1,17 +1 @@ -invalid paths: invalid path /projects/{projectId}/images/suggested: invalid operation POST: example Successful QuerySuggestedImages request: Error at "/token/sortBy": value is not one of the allowed values ["UncertaintyAscending","UncertaintyDescending"] -Schema: - { - "description": "OrderBy. Ordering mechanism for your results.", - "enum": [ - "UncertaintyAscending", - "UncertaintyDescending" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "SortBy" - } - } - -Value: - "Newest" +invalid paths: invalid path /projects/{projectId}/images/regions: invalid operation DELETE: Successful DeleteImageRegions request: Error at "/0": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate index 4aae04ff9..9efcc7975 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate @@ -1 +1 @@ -invalid paths: invalid path /api/v1/sites/{site_id}/devices/{device_id}: invalid operation PUT: invalid example: input matches more than one oneOf schemas +invalid components: schema "asset_filter": invalid example: string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate index 98995445e..ec8a3eb0a 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate @@ -1,9 +1 @@ -invalid components: schema "HealthInformationNotification": invalid example: value must be a string -Schema: - { - "example": 100005, - "type": "string" - } - -Value: - 100005 +invalid components: schema "HIRequest": invalid example: string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate index 9840f7044..c7e597882 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate @@ -1,10 +1 @@ -invalid components: schema "DTMFRequest": invalid example: value must be a string -Schema: - { - "description": "The digits to send", - "example": 1713, - "type": "string" - } - -Value: - 1713 +invalid components: schema "CreateCallResponse": invalid example: string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/optimade_local_1_1_0_develop_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/optimade_local_1_1_0_develop_openapi_yaml__validate new file mode 100644 index 000000000..56dd0ae21 --- /dev/null +++ b/openapi3/testdata/apis_guru_openapi_directory/optimade_local_1_1_0_develop_openapi_yaml__validate @@ -0,0 +1 @@ +invalid paths: invalid path /links: invalid operation GET: parameter "email_address" schema is invalid: invalid default: string doesn't match the format "email": string doesn't match pattern "^[^@]+@[^@<>",\s]+$" From fc11f1124164a5b4c11a8f3f2fc9d534d5a5b69a Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Mon, 27 Apr 2026 11:42:08 +0200 Subject: [PATCH 3/3] well Signed-off-by: Pierre Fenoll --- .../flat_io_2_13_0_openapi_yaml__validate | 1 - ...vices_Prediction_3_0_openapi_yaml__validate | 1 - ...ervices_Training_3_0_openapi_yaml__validate | 10 +++++++++- ...ervices_Training_3_1_openapi_yaml__validate | 18 +++++++++++++++++- ...ervices_Training_3_2_openapi_yaml__validate | 18 +++++++++++++++++- .../mist_com_0_37_7_openapi_yaml__validate | 2 +- ...m_gov_in_ndhm_cm_0_5_openapi_yaml__validate | 10 +++++++++- ...xmo_com_voice_1_3_10_openapi_yaml__validate | 11 ++++++++++- ..._local_1_1_0_develop_openapi_yaml__validate | 1 - 9 files changed, 63 insertions(+), 9 deletions(-) delete mode 100644 openapi3/testdata/apis_guru_openapi_directory/flat_io_2_13_0_openapi_yaml__validate delete mode 100644 openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Prediction_3_0_openapi_yaml__validate delete mode 100644 openapi3/testdata/apis_guru_openapi_directory/optimade_local_1_1_0_develop_openapi_yaml__validate diff --git a/openapi3/testdata/apis_guru_openapi_directory/flat_io_2_13_0_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/flat_io_2_13_0_openapi_yaml__validate deleted file mode 100644 index 540d8e223..000000000 --- a/openapi3/testdata/apis_guru_openapi_directory/flat_io_2_13_0_openapi_yaml__validate +++ /dev/null @@ -1 +0,0 @@ -invalid components: schema "ScoreTrack": invalid example: Error at "/measureUuid": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Prediction_3_0_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Prediction_3_0_openapi_yaml__validate deleted file mode 100644 index fd903caaa..000000000 --- a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Prediction_3_0_openapi_yaml__validate +++ /dev/null @@ -1 +0,0 @@ -invalid paths: invalid path /{projectId}/detect/iterations/{publishedName}/image: invalid operation POST: example Successful DetectImage request: Error at "/id": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" | Error at "/project": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate index ddae3c664..4df9de8a7 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_0_openapi_yaml__validate @@ -1 +1,9 @@ -invalid paths: invalid path /projects/{projectId}/images/regions: invalid operation DELETE: Successful DeleteImageRegions request: Error at "/0": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" +invalid paths: invalid path /projects/{projectId}/images/tagged/count: invalid operation GET: example Successful GetTaggedImageCount request: value must be an integer +Schema: + { + "format": "int32", + "type": "integer" + } + +Value: + "10" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate index ddae3c664..028a2ecb1 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_1_openapi_yaml__validate @@ -1 +1,17 @@ -invalid paths: invalid path /projects/{projectId}/images/regions: invalid operation DELETE: Successful DeleteImageRegions request: Error at "/0": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" +invalid paths: invalid path /projects/{projectId}/images/suggested: invalid operation POST: example Successful QuerySuggestedImages request: Error at "/token/sortBy": value is not one of the allowed values ["UncertaintyAscending","UncertaintyDescending"] +Schema: + { + "description": "OrderBy. Ordering mechanism for your results.", + "enum": [ + "UncertaintyAscending", + "UncertaintyDescending" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "SortBy" + } + } + +Value: + "Newest" diff --git a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate index ddae3c664..028a2ecb1 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/microsoft_com_cognitiveservices_Training_3_2_openapi_yaml__validate @@ -1 +1,17 @@ -invalid paths: invalid path /projects/{projectId}/images/regions: invalid operation DELETE: Successful DeleteImageRegions request: Error at "/0": string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" +invalid paths: invalid path /projects/{projectId}/images/suggested: invalid operation POST: example Successful QuerySuggestedImages request: Error at "/token/sortBy": value is not one of the allowed values ["UncertaintyAscending","UncertaintyDescending"] +Schema: + { + "description": "OrderBy. Ordering mechanism for your results.", + "enum": [ + "UncertaintyAscending", + "UncertaintyDescending" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "SortBy" + } + } + +Value: + "Newest" diff --git a/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate index 9efcc7975..4aae04ff9 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/mist_com_0_37_7_openapi_yaml__validate @@ -1 +1 @@ -invalid components: schema "asset_filter": invalid example: string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" +invalid paths: invalid path /api/v1/sites/{site_id}/devices/{device_id}: invalid operation PUT: invalid example: input matches more than one oneOf schemas diff --git a/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate index ec8a3eb0a..98995445e 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/ndhm_gov_in_ndhm_cm_0_5_openapi_yaml__validate @@ -1 +1,9 @@ -invalid components: schema "HIRequest": invalid example: string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" +invalid components: schema "HealthInformationNotification": invalid example: value must be a string +Schema: + { + "example": 100005, + "type": "string" + } + +Value: + 100005 diff --git a/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate index c7e597882..9840f7044 100644 --- a/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate +++ b/openapi3/testdata/apis_guru_openapi_directory/nexmo_com_voice_1_3_10_openapi_yaml__validate @@ -1 +1,10 @@ -invalid components: schema "CreateCallResponse": invalid example: string doesn't match the format "uuid": string doesn't match pattern "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" +invalid components: schema "DTMFRequest": invalid example: value must be a string +Schema: + { + "description": "The digits to send", + "example": 1713, + "type": "string" + } + +Value: + 1713 diff --git a/openapi3/testdata/apis_guru_openapi_directory/optimade_local_1_1_0_develop_openapi_yaml__validate b/openapi3/testdata/apis_guru_openapi_directory/optimade_local_1_1_0_develop_openapi_yaml__validate deleted file mode 100644 index 56dd0ae21..000000000 --- a/openapi3/testdata/apis_guru_openapi_directory/optimade_local_1_1_0_develop_openapi_yaml__validate +++ /dev/null @@ -1 +0,0 @@ -invalid paths: invalid path /links: invalid operation GET: parameter "email_address" schema is invalid: invalid default: string doesn't match the format "email": string doesn't match pattern "^[^@]+@[^@<>",\s]+$"