Eliminate CommonApiObject
[netconf.git] / restconf / sal-rest-docgen / src / main / java / org / opendaylight / netconf / sal / rest / doc / openapi / SwaggerObject.java
diff --git a/restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/openapi/SwaggerObject.java b/restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/openapi/SwaggerObject.java
deleted file mode 100644 (file)
index 4f4d301..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * Copyright (c) 2020 PANTHEON.tech, s.r.o. 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.openapi;
-
-import com.fasterxml.jackson.databind.node.ArrayNode;
-import com.fasterxml.jackson.databind.node.ObjectNode;
-import java.util.List;
-
-public class SwaggerObject implements CommonApiObject {
-    private String swagger;
-    private Info info;
-    private List<String> schemes;
-    private String host;
-    private String basePath;
-    private List<String> produces;
-    private ObjectNode paths;
-    private ObjectNode definitions;
-    private SecurityDefinitions securityDefinitions;
-    private ArrayNode security;
-
-    public ObjectNode getDefinitions() {
-        return definitions;
-    }
-
-    public void setDefinitions(ObjectNode definitions) {
-        this.definitions = definitions;
-    }
-
-    public String getBasePath() {
-        return basePath;
-    }
-
-    public void setBasePath(String basePath) {
-        this.basePath = basePath;
-    }
-
-    public List<String> getProduces() {
-        return produces;
-    }
-
-    public void setProduces(List<String> produces) {
-        this.produces = produces;
-    }
-
-    public List<String> getSchemes() {
-        return schemes;
-    }
-
-    public void setSchemes(List<String> schemes) {
-        this.schemes = schemes;
-    }
-
-    public String getHost() {
-        return host;
-    }
-
-    public void setHost(String host) {
-        this.host = host;
-    }
-
-    public void setPaths(ObjectNode paths) {
-        this.paths = paths;
-    }
-
-    public ObjectNode getPaths() {
-        return paths;
-    }
-
-    public Info getInfo() {
-        return info;
-    }
-
-    public void setInfo(Info info) {
-        this.info = info;
-    }
-
-    public String getSwagger() {
-        return swagger;
-    }
-
-    public void setSwagger(String swagger) {
-        this.swagger = swagger;
-    }
-
-    public SecurityDefinitions getSecurityDefinitions() {
-        return securityDefinitions;
-    }
-
-    public void setSecurityDefinitions(SecurityDefinitions securityDefinitions) {
-        this.securityDefinitions = securityDefinitions;
-    }
-
-    public ArrayNode getSecurity() {
-        return security;
-    }
-
-    public void setSecurity(ArrayNode security) {
-        this.security = security;
-    }
-}