func Assert(doc assert.Document) echo.MiddlewareFunc {
	c := DefaultAssertConfig
	c.Document = doc
	return AssertWithConfig(c)
}
Assert returns middleware that uses the openapi-assert
package to assert echo HTTP requests.
package echo
import (
	"net/http"
	assert "github.com/faabiosr/openapi-assert"
	"github.com/labstack/echo/v4"
	mw "github.com/labstack/echo/v4/middleware"
)
type AssertConfig struct {
	Skipper mw.Skipper
	Document assert.Document
}
var DefaultAssertConfig = AssertConfig{
	Skipper: mw.DefaultSkipper,
}