From b3e56fd07fd5d650381d36ccb06c07811d824ddc Mon Sep 17 00:00:00 2001 From: Ivan Hrasko Date: Wed, 22 Feb 2023 14:04:27 +0100 Subject: [PATCH] Remove Resource class It was not used and not according to OAS v2 nor OAS v3. JIRA: NETCONF-938 Change-Id: I315ef195749f8fc003df66778efde7747333d764 Signed-off-by: Ivan Hrasko --- .../sal/rest/doc/swagger/Resource.java | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/swagger/Resource.java diff --git a/restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/swagger/Resource.java b/restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/swagger/Resource.java deleted file mode 100644 index 9bbc82c364..0000000000 --- a/restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/swagger/Resource.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.netconf.sal.rest.doc.swagger; - -/** - * Implementation of swagger spec (see https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#512- - * resource-object). - */ -public class Resource { - private String path; - private String description; - - public String getPath() { - return path; - } - - public void setPath(String path) { - this.path = path; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } -} -- 2.36.6