2 * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
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
8 package org.opendaylight.netconf.sal.rest.doc.swagger;
10 import com.fasterxml.jackson.databind.node.ArrayNode;
11 import com.fasterxml.jackson.databind.node.ObjectNode;
12 import java.util.List;
14 public class OpenApiObject implements CommonApiObject {
15 private String openapi;
17 private List<Server> servers;
18 private ObjectNode paths;
19 private Components components;
20 private ArrayNode security;
22 public String getOpenapi() {
26 public void setOpenapi(String openapi) {
27 this.openapi = openapi;
30 public Info getInfo() {
34 public void setInfo(Info info) {
38 public List<Server> getServers() {
42 public void setServers(List<Server> servers) {
43 this.servers = servers;
46 public ObjectNode getPaths() {
50 public void setPaths(ObjectNode paths) {
54 public Components getComponents() {
58 public void setComponents(Components components) {
59 this.components = components;
62 public ArrayNode getSecurity() {
66 public void setSecurity(ArrayNode security) {
67 this.security = security;