From 69cf6bab6252c03010d72933a8feba4faeab1bef Mon Sep 17 00:00:00 2001 From: Ambrose Bonnaire-Sergeant Date: Wed, 1 May 2024 14:16:14 -0500 Subject: [PATCH] move under resources that we control --- resources/ring/{openapi => swagger}/openapi-schema.json | 2 +- src/ring/openapi/validator.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename resources/ring/{openapi => swagger}/openapi-schema.json (99%) diff --git a/resources/ring/openapi/openapi-schema.json b/resources/ring/swagger/openapi-schema.json similarity index 99% rename from resources/ring/openapi/openapi-schema.json rename to resources/ring/swagger/openapi-schema.json index 7f1933ec..b43f4405 100644 --- a/resources/ring/openapi/openapi-schema.json +++ b/resources/ring/swagger/openapi-schema.json @@ -1655,4 +1655,4 @@ "additionalProperties": false } } -} \ No newline at end of file +} diff --git a/src/ring/openapi/validator.clj b/src/ring/openapi/validator.clj index 18566ce1..0aeffc4b 100644 --- a/src/ring/openapi/validator.clj +++ b/src/ring/openapi/validator.clj @@ -6,4 +6,4 @@ ; http://json-schema.org/draft-04/schema (def validate - (v/validator (slurp (io/resource "ring/openapi/openapi-schema.json")))) + (v/validator (slurp (io/resource "ring/swagger/openapi-schema.json"))))