Method

class Method : ContentType

represents a method content type

  • operation identifier as stated in open api document

    Declaration

    Swift

    var operationId: String
  • top level route segment

    Declaration

    Swift

    var definedIn: String
  • content body as stated in open api document (no name required)

    Declaration

    Swift

    var contentBody: Parameter?
  • return value as stated in open api document (no name required)

    Declaration

    Swift

    var returnValue: ReturnValue?
  • Undocumented

    Declaration

    Swift

    required init(from decoder: Decoder) throws