HTTP Verbs

Definitions

Definition Title Type Description
methods array
method HTTP Methods string HTTP Methods
safeMethod Safe HTTP Methods string Safe HTTP Methods
unsafeMethod Unsafe HTTP Methods string Unsafe HTTP Methods

Schema

{
  "definitions": {
    "methods": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/method"
      }
    },
    "method": {
      "title": "HTTP Methods",
      "description": "HTTP Methods",
      "type": "string",
      "enum": [
        "OPTIONS",
        "GET",
        "HEAD",
        "POST",
        "PUT",
        "DELETE",
        "TRACE",
        "CONNECT",
        "PATCH"
      ]
    },
    "safeMethod": {
      "title": "Safe HTTP Methods",
      "description": "Safe HTTP Methods",
      "type": "string",
      "enum": [
        "GET",
        "HEAD"
      ]
    },
    "unsafeMethod": {
      "title": "Unsafe HTTP Methods",
      "description": "Unsafe HTTP Methods",
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "DELETE",
        "PATCH"
      ]
    }
  }
}