public class OpenAPISpecHandler
extends Object
Serves the embedded OpenAPI specification at GET /mockserver/openapi.yaml
-
Constructor Summary
Constructors
-
Method Summary
void
renderOpenAPISpec(io.netty.channel.ChannelHandlerContext ctx,
org.mockserver.model.HttpRequest request)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OpenAPISpecHandler
public OpenAPISpecHandler()
-
Method Details
-
renderOpenAPISpec
public void renderOpenAPISpec(io.netty.channel.ChannelHandlerContext ctx,
org.mockserver.model.HttpRequest request)
throws Exception
- Throws:
Exception