Class OpenAPISpecHandler


  • public class OpenAPISpecHandler
    extends Object
    Serves the embedded OpenAPI specification at GET /mockserver/openapi.yaml
    • Constructor Detail

      • OpenAPISpecHandler

        public OpenAPISpecHandler()
    • Method Detail

      • renderOpenAPISpec

        public void renderOpenAPISpec​(io.netty.channel.ChannelHandlerContext ctx,
                                      HttpRequest request)
                               throws Exception
        Throws:
        Exception