From 0b59e9c2f9bdd227b9c3a029df389d2c451f8f23 Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Mon, 18 Dec 2023 22:00:34 +0400 Subject: [PATCH] fix(inspection description): sonar issues Changed to

instead of whole html - Insert a declaration to before this tag. - Add "lang" and/or "xml:lang" attributes to this "" element - Add a tag to this page. reference: https://plugins.jetbrains.com/docs/intellij/code-inspections.html#inspection-description --- .../inspectionDescriptions/AsyncAPIJsonSpecification.html | 8 +++----- .../inspectionDescriptions/AsyncAPIYamlSpecification.html | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/main/resources/inspectionDescriptions/AsyncAPIJsonSpecification.html b/src/main/resources/inspectionDescriptions/AsyncAPIJsonSpecification.html index 5facd1f..b5ee433 100644 --- a/src/main/resources/inspectionDescriptions/AsyncAPIJsonSpecification.html +++ b/src/main/resources/inspectionDescriptions/AsyncAPIJsonSpecification.html @@ -1,5 +1,3 @@ -<html> - <body> - <p>Validates that AsyncAPI specification (json) respects <a href="https://github.com/asyncapi/spec-json-schemas">AsyncAPI Json Schema</a> </p> - </body> -</html> \ No newline at end of file +<p> + Validates that AsyncAPI specification (json) respects <a href="https://github.com/asyncapi/spec-json-schemas">AsyncAPI Json Schema</a> +</p> \ No newline at end of file diff --git a/src/main/resources/inspectionDescriptions/AsyncAPIYamlSpecification.html b/src/main/resources/inspectionDescriptions/AsyncAPIYamlSpecification.html index 1c19682..6f2e912 100644 --- a/src/main/resources/inspectionDescriptions/AsyncAPIYamlSpecification.html +++ b/src/main/resources/inspectionDescriptions/AsyncAPIYamlSpecification.html @@ -1,5 +1,3 @@ -<html> - <body> - <p>Validates that AsyncAPI specification (yaml) respects <a href="https://github.com/asyncapi/spec-json-schemas">AsyncAPI Json Schema</a> </p> - </body> -</html> \ No newline at end of file +<p> + Validates that AsyncAPI specification (yaml) respects <a href="https://github.com/asyncapi/spec-json-schemas">AsyncAPI Json Schema</a> +</p> \ No newline at end of file