eclipse-vertx/vertx-openapi

No support for root path

thced opened this issue · 0 comments

thced commented

Version

4.4.0

Context

A simple OpenAPI schema containing the most simple route GET / does not validate correctly.
Occurred when trying out vertx-web-openapi-router.

openapi: 3.1.0

info:
  title: Root path issue
  description: An issue
  version: 0.0.1

paths:
  /:
    get:
      description: Default path
      responses:
        200:
          description: OK

Adding a double-slash will however validate, and will work.

paths:
  //:
    get: ...