Skip to content

OpenAPI_HttpMethod

mattpolzin edited this page Jun 11, 2021 · 3 revisions

OpenAPI.HttpMethod

Represents the HTTP methods supported by the OpenAPI Specification.

public enum HttpMethod: String, CaseIterable 

See OpenAPI Path Item Object because the supported HTTP methods are enumerated as properties on that object.

Inheritance

CaseIterable, String

Enumeration Cases

get

case get = "GET"

post

case post = "POST"

patch

case patch = "PATCH"

put

case put = "PUT"

delete

case delete = "DELETE"

head

case head = "HEAD"

options

case options = "OPTIONS"

trace

case trace = "TRACE"
Types
Protocols
Global Functions
Extensions
Clone this wiki locally