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.ObjectNode;
11 import java.util.List;
13 public class OpenApiObject implements CommonApiObject {
14 private String openapi;
16 private List<Server> servers;
17 private ObjectNode paths;
18 private Components components;
20 public String getOpenapi() {
24 public void setOpenapi(String openapi) {
25 this.openapi = openapi;
28 public Info getInfo() {
32 public void setInfo(Info info) {
36 public List<Server> getServers() {
40 public void setServers(List<Server> servers) {
41 this.servers = servers;
44 public ObjectNode getPaths() {
48 public void setPaths(ObjectNode paths) {
52 public Components getComponents() {
56 public void setComponents(Components components) {
57 this.components = components;