Package org.mockserver.netty
Class OpenAPISpecHandler
- java.lang.Object
-
- org.mockserver.netty.OpenAPISpecHandler
-
public class OpenAPISpecHandler extends Object
Serves the embedded OpenAPI specification at GET /mockserver/openapi.yaml
-
-
Constructor Summary
Constructors Constructor Description OpenAPISpecHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrenderOpenAPISpec(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request)
-
-
-
Method Detail
-
renderOpenAPISpec
public void renderOpenAPISpec(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request) throws Exception- Throws:
Exception
-
-