From 97b90922bf86142299c4ce2b05b48f33f51242bb Mon Sep 17 00:00:00 2001 From: carlosdelest Date: Fri, 11 Aug 2023 12:29:47 +0200 Subject: [PATCH] Linting fixes --- .../_json_spec/synonyms.delete_synonym.json | 8 ++------ .../_json_spec/synonyms.delete_synonym_rule.json | 12 +++--------- specification/_json_spec/synonyms.get_synonym.json | 8 ++------ .../_json_spec/synonyms.get_synonym_rule.json | 12 +++--------- .../_json_spec/synonyms.get_synonyms_sets.json | 8 ++------ specification/_json_spec/synonyms.put_synonym.json | 12 +++--------- .../_json_spec/synonyms.put_synonym_rule.json | 12 +++--------- 7 files changed, 18 insertions(+), 54 deletions(-) diff --git a/specification/_json_spec/synonyms.delete_synonym.json b/specification/_json_spec/synonyms.delete_synonym.json index 00142ebcf0..9756f4923e 100644 --- a/specification/_json_spec/synonyms.delete_synonym.json +++ b/specification/_json_spec/synonyms.delete_synonym.json @@ -7,17 +7,13 @@ "stability": "experimental", "visibility": "public", "headers": { - "accept": [ - "application/json" - ] + "accept": ["application/json"] }, "url": { "paths": [ { "path": "/_synonyms/{id}", - "methods": [ - "DELETE" - ], + "methods": ["DELETE"], "parts": { "id": { "type": "string", diff --git a/specification/_json_spec/synonyms.delete_synonym_rule.json b/specification/_json_spec/synonyms.delete_synonym_rule.json index 11fb113d6b..e70ff261f8 100644 --- a/specification/_json_spec/synonyms.delete_synonym_rule.json +++ b/specification/_json_spec/synonyms.delete_synonym_rule.json @@ -7,20 +7,14 @@ "stability": "experimental", "visibility": "public", "headers": { - "accept": [ - "application/json" - ], - "content_type": [ - "application/json" - ] + "accept": ["application/json"], + "content_type": ["application/json"] }, "url": { "paths": [ { "path": "/_synonyms/{set_id}/{rule_id}", - "methods": [ - "DELETE" - ], + "methods": ["DELETE"], "parts": { "set_id": { "type": "string", diff --git a/specification/_json_spec/synonyms.get_synonym.json b/specification/_json_spec/synonyms.get_synonym.json index 6cb4fcc46f..9679fcfd96 100644 --- a/specification/_json_spec/synonyms.get_synonym.json +++ b/specification/_json_spec/synonyms.get_synonym.json @@ -7,17 +7,13 @@ "stability": "experimental", "visibility": "public", "headers": { - "accept": [ - "application/json" - ] + "accept": ["application/json"] }, "url": { "paths": [ { "path": "/_synonyms/{id}", - "methods": [ - "GET" - ], + "methods": ["GET"], "parts": { "id": { "type": "string", diff --git a/specification/_json_spec/synonyms.get_synonym_rule.json b/specification/_json_spec/synonyms.get_synonym_rule.json index 5a718f1a48..6eff1d841f 100644 --- a/specification/_json_spec/synonyms.get_synonym_rule.json +++ b/specification/_json_spec/synonyms.get_synonym_rule.json @@ -7,20 +7,14 @@ "stability": "experimental", "visibility": "public", "headers": { - "accept": [ - "application/json" - ], - "content_type": [ - "application/json" - ] + "accept": ["application/json"], + "content_type": ["application/json"] }, "url": { "paths": [ { "path": "/_synonyms/{set_id}/{rule_id}", - "methods": [ - "GET" - ], + "methods": ["GET"], "parts": { "set_id": { "type": "string", diff --git a/specification/_json_spec/synonyms.get_synonyms_sets.json b/specification/_json_spec/synonyms.get_synonyms_sets.json index 66bd8df92e..62f160dea9 100644 --- a/specification/_json_spec/synonyms.get_synonyms_sets.json +++ b/specification/_json_spec/synonyms.get_synonyms_sets.json @@ -7,17 +7,13 @@ "stability": "experimental", "visibility": "public", "headers": { - "accept": [ - "application/json" - ] + "accept": ["application/json"] }, "url": { "paths": [ { "path": "/_synonyms", - "methods": [ - "GET" - ] + "methods": ["GET"] } ] }, diff --git a/specification/_json_spec/synonyms.put_synonym.json b/specification/_json_spec/synonyms.put_synonym.json index 6c412d1744..2aab7e5f48 100644 --- a/specification/_json_spec/synonyms.put_synonym.json +++ b/specification/_json_spec/synonyms.put_synonym.json @@ -7,20 +7,14 @@ "stability": "experimental", "visibility": "public", "headers": { - "accept": [ - "application/json" - ], - "content_type": [ - "application/json" - ] + "accept": ["application/json"], + "content_type": ["application/json"] }, "url": { "paths": [ { "path": "/_synonyms/{id}", - "methods": [ - "PUT" - ], + "methods": ["PUT"], "parts": { "id": { "type": "string", diff --git a/specification/_json_spec/synonyms.put_synonym_rule.json b/specification/_json_spec/synonyms.put_synonym_rule.json index 082432ae66..05ce8234c6 100644 --- a/specification/_json_spec/synonyms.put_synonym_rule.json +++ b/specification/_json_spec/synonyms.put_synonym_rule.json @@ -7,20 +7,14 @@ "stability": "experimental", "visibility": "public", "headers": { - "accept": [ - "application/json" - ], - "content_type": [ - "application/json" - ] + "accept": ["application/json"], + "content_type": ["application/json"] }, "url": { "paths": [ { "path": "/_synonyms/{set_id}/{rule_id}", - "methods": [ - "PUT" - ], + "methods": ["PUT"], "parts": { "set_id": { "type": "string",