Move swagger classes into openapi package
[netconf.git] / restconf / sal-rest-docgen / src / main / java / org / opendaylight / netconf / sal / rest / doc / openapi / SecurityDefinitions.java
diff --git a/restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/openapi/SecurityDefinitions.java b/restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/openapi/SecurityDefinitions.java
new file mode 100644 (file)
index 0000000..b46dd4f
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2023 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.ObjectNode;
+
+public class SecurityDefinitions {
+    private ObjectNode basicAuth;
+
+    public SecurityDefinitions(ObjectNode basicAuth) {
+        this.basicAuth = basicAuth;
+    }
+
+    public ObjectNode getBasicAuth() {
+        return basicAuth;
+    }
+
+    public void setBasicAuth(ObjectNode basicAuth) {
+        this.basicAuth = basicAuth;
+    }
+}