Update swagger generator to OpenAPI 3.0
[netconf.git] / restconf / sal-rest-docgen / src / main / java / org / opendaylight / netconf / sal / rest / doc / swagger / Components.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.ObjectNode;
11
12 public class Components {
13     private ObjectNode schemas;
14
15     public Components() {
16
17     }
18
19     public Components(ObjectNode schemas) {
20         this.schemas = schemas;
21     }
22
23     public ObjectNode getSchemas() {
24         return schemas;
25     }
26
27     public void setSchemas(ObjectNode schemas) {
28         this.schemas = schemas;
29     }
30 }