Package org.mockserver.netty
Class OpenAPISpecHandler
java.lang.Object
org.mockserver.netty.OpenAPISpecHandler
Serves the embedded OpenAPI specification at GET /mockserver/openapi.yaml
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderOpenAPISpec(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request)
-
Constructor Details
-
OpenAPISpecHandler
public OpenAPISpecHandler()
-
-
Method Details
-
renderOpenAPISpec
public void renderOpenAPISpec(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request) throws Exception - Throws:
Exception
-