Remove hard-coded "topology-netconf" reference
[netconf.git] / restconf / sal-rest-docgen / src / main / java / org / opendaylight / netconf / sal / rest / doc / swagger / OpenApiObject.java
1 /*
2  * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.netconf.sal.rest.doc.swagger;
9
10 import com.fasterxml.jackson.databind.node.ArrayNode;
11 import com.fasterxml.jackson.databind.node.ObjectNode;
12 import java.util.List;
13
14 public class OpenApiObject implements CommonApiObject {
15     private String openapi;
16     private Info info;
17     private List<Server> servers;
18     private ObjectNode paths;
19     private Components components;
20     private ArrayNode security;
21
22     public String getOpenapi() {
23         return openapi;
24     }
25
26     public void setOpenapi(String openapi) {
27         this.openapi = openapi;
28     }
29
30     public Info getInfo() {
31         return info;
32     }
33
34     public void setInfo(Info info) {
35         this.info = info;
36     }
37
38     public List<Server> getServers() {
39         return servers;
40     }
41
42     public void setServers(List<Server> servers) {
43         this.servers = servers;
44     }
45
46     public ObjectNode getPaths() {
47         return paths;
48     }
49
50     public void setPaths(ObjectNode paths) {
51         this.paths = paths;
52     }
53
54     public Components getComponents() {
55         return components;
56     }
57
58     public void setComponents(Components components) {
59         this.components = components;
60     }
61
62     public ArrayNode getSecurity() {
63         return security;
64     }
65
66     public void setSecurity(ArrayNode security) {
67         this.security = security;
68     }
69 }