Swagger2::Guides::CustomPlaceholder(3pm)

Swagger2::Guides::CustomPlaceholder3pm

Custom placeholders

Usage

  {
    "swagger": "2.0",
    "basePath": "/api",
    "paths": {
      "/pets/{name}": {
        "get": {
          "operationId": "listPets",
          "parameters": [
            { "name": "name", "in": "path", "type": "string", "x-mojo-placeholder": "#" }
          ],
          "responses": {
            "200": { ... }
          }
        }
      }
    }
  }

Author

Jan Henning Thorsen - "[email protected]"

From libswagger2-perl 0.77-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.