Class: Skooma::Objects::RequestBody

Inherits:
RefBase
  • Object
show all
Defined in:
lib/skooma/objects/request_body.rb,
lib/skooma/objects/request_body/keywords/required.rb

Overview

Describes a single request body. spec.openapis.org/oas/v3.1.0#request-body-object

Defined Under Namespace

Modules: Keywords

Constant Summary

Constants inherited from Base

Base::DEFAULT_OPTIONS

Instance Method Summary collapse

Methods inherited from RefBase

#ref_kw_classes, #resolve_keywords, #resolve_ref_keywords

Methods inherited from Base

#bootstrap, #initialize, #json_schema_dialect_uri

Methods included from ExternalRefs

#resolve_ref

Constructor Details

This class inherits a constructor from Skooma::Objects::Base

Instance Method Details

#kw_classesObject



8
9
10
11
12
13
14
# File 'lib/skooma/objects/request_body.rb', line 8

def kw_classes
  [
    Base::Keywords::Description,
    Skooma::Objects::Response::Keywords::Content,
    Keywords::Required
  ]
end