Ubuntu Manpages

Swagger2::Guides::CustomPlaceholder

Custom placeholders

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

Jan Henning Thorsen - "jhthorsen@cpan.org"