From 7b7b6eaaada4eb82af475fe80bd99fca998e31a1 Mon Sep 17 00:00:00 2001 From: Nipuna Ransinghe Date: Fri, 12 Jul 2024 08:52:24 +0530 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Azeem Muzammil <33729295+AzeemMuzammil@users.noreply.github.com> --- docs/spec/build.gradle | 2 +- docs/spec/sanitations.bal | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/spec/build.gradle b/docs/spec/build.gradle index ba25d7a..63d6fd9 100644 --- a/docs/spec/build.gradle +++ b/docs/spec/build.gradle @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024, WSO2 LLC. (http://www.wso2.org) All Rights Reserved. + * Copyright (c) 2024, WSO2 LLC. (http://www.wso2.org). * * WSO2 LLC. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except diff --git a/docs/spec/sanitations.bal b/docs/spec/sanitations.bal index 9f06dc5..18701dc 100644 --- a/docs/spec/sanitations.bal +++ b/docs/spec/sanitations.bal @@ -115,7 +115,6 @@ function sanitizeResponseSchemaNames(Specification spec) returns Specification|e } function sanitizeSchemaNames(Specification spec) returns string { - map updatedSchemas = {}; map updatedNames = {};