...

Text file src/github.com/go-openapi/analysis/fixtures/bugs/remote-absolute/swagger-mini.json

Documentation: github.com/go-openapi/analysis/fixtures/bugs/remote-absolute

     1{
     2  "swagger": "2.0",
     3  "info": {
     4    "title": "keptn api",
     5    "version": "0.1.0"
     6  },
     7  "schemes": [
     8    "http"
     9  ],
    10  "basePath": "/",
    11  "consumes": [
    12    "application/cloudevents+json"
    13  ],
    14  "produces": [
    15    "application/cloudevents+json"
    16  ],
    17  "securityDefinitions": {
    18    "key": {
    19      "type": "apiKey",
    20      "in": "header",
    21      "name": "x-token"
    22    }
    23  },
    24  "security": [
    25    {
    26      "key": []
    27    }
    28  ],
    29  "paths": {
    30    "/auth": {
    31      "post": {
    32        "tags": [
    33          "auth"
    34        ],
    35        "operationId": "auth",
    36        "summary": "Checks the provided token",
    37        "parameters": [
    38          {
    39            "name": "body",
    40            "in": "body",
    41            "schema": {
    42                "$ref": "#/definitions/remote"
    43            }
    44          }
    45        ],
    46        "responses": {
    47          "200": {
    48            "description": "authenticated"
    49          }
    50        }
    51      }
    52    }
    53  },
    54  "definitions": {
    55    "remote": {
    56      "$ref": "https://raw.githubusercontent.com/cloudevents/spec/v0.2/spec.json#/definitions/event"
    57    }
    58  }
    59}

View as plain text