From f38ae1391a42405f80b3e15bcaa2354f5b94994e Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 23 Sep 2016 12:57:59 +0000
Subject: [PATCH] OPENDJ-3332 Rest2ldap: return the OpenAPI descriptors over REST
---
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPConnectionHandler.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPConnectionHandler.java b/opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPConnectionHandler.java
index 9efb145..a50fc4d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPConnectionHandler.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPConnectionHandler.java
@@ -15,11 +15,11 @@
*/
package org.opends.server.protocols.http;
+import static org.forgerock.http.grizzly.GrizzlySupport.newGrizzlyHttpHandler;
import static org.opends.messages.ConfigMessages.*;
import static org.opends.messages.ProtocolMessages.*;
import static org.opends.server.util.ServerConstants.*;
import static org.opends.server.util.StaticUtils.*;
-import static org.forgerock.http.grizzly.GrizzlySupport.newGrizzlyHttpHandler;
import java.io.IOException;
import java.net.InetAddress;
@@ -943,7 +943,7 @@
public ApiProducer<Swagger> getApiProducer()
{
// Needed to enforce generation of CREST APIs
- return new SwaggerApiProducer(null, null, null);
+ return new SwaggerApiProducer(null);
}
}
--
Gitblit v1.10.0