...

Text file src/github.com/go-openapi/validate/fixtures/bugs/18/schema.json

Documentation: github.com/go-openapi/validate/fixtures/bugs/18

     1{
     2  "swagger": "2.0",
     3  "info": {
     4    "version": "0.0.1",
     5    "title": "test of Swagger invalid pattern in schema"
     6  },
     7  "paths": {
     8    "/foo": {
     9      "get": {
    10        "produces": [
    11          "text/plain"
    12        ],
    13        "responses": {
    14          "200": {
    15            "description": "Successful",
    16            "schema": {
    17                "type": "string",
    18                "pattern": ")<-- bad pattern"
    19            }
    20          }
    21        }
    22      }
    23    }
    24  }
    25}

View as plain text