Class: Skooma::Objects::Header

Inherits:
RefBase
  • Object
show all
Defined in:
lib/skooma/objects/header.rb,
lib/skooma/objects/header/keywords/style.rb,
lib/skooma/objects/header/keywords/schema.rb,
lib/skooma/objects/header/keywords/content.rb,
lib/skooma/objects/header/keywords/example.rb,
lib/skooma/objects/header/keywords/explode.rb,
lib/skooma/objects/header/keywords/examples.rb,
lib/skooma/objects/header/keywords/required.rb

Overview

spec.openapis.org/oas/v3.1.0#header-object The Header Object follows the structure of the Parameter 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
15
16
17
18
19
20
# File 'lib/skooma/objects/header.rb', line 8

def kw_classes
  [
    Base::Keywords::Description,
    Base::Keywords::Deprecated,
    Keywords::Style,
    Keywords::Explode,
    Keywords::Required,
    Keywords::Schema,
    Keywords::Example,
    Keywords::Examples,
    Keywords::Content
  ]
end