Class: Skooma::Objects::Base
- Inherits:
-
JSONSkooma::JSONSchema
- Object
- JSONSkooma::JSONSchema
- Skooma::Objects::Base
show all
- Includes:
- ExternalRefs
- Defined in:
- lib/skooma/objects/base.rb,
lib/skooma/objects/base/keywords/tags.rb,
lib/skooma/objects/base/keywords/servers.rb,
lib/skooma/objects/base/keywords/summary.rb,
lib/skooma/objects/base/keywords/security.rb,
lib/skooma/objects/base/keywords/deprecated.rb,
lib/skooma/objects/base/keywords/description.rb
Defined Under Namespace
Modules: Keywords
Constant Summary
collapse
- DEFAULT_OPTIONS =
{
registry: REGISTRY_NAME
}.freeze
Instance Method Summary
collapse
#resolve_ref
Constructor Details
#initialize(value, **options) ⇒ Base
Returns a new instance of Base.
12
13
14
|
# File 'lib/skooma/objects/base.rb', line 12
def initialize(value, **options)
super(value, **DEFAULT_OPTIONS.merge(options))
end
|
Instance Method Details
#bootstrap(value) ⇒ Object
16
17
18
|
# File 'lib/skooma/objects/base.rb', line 16
def bootstrap(value)
end
|
#json_schema_dialect_uri ⇒ Object
24
25
26
|
# File 'lib/skooma/objects/base.rb', line 24
def json_schema_dialect_uri
root.json_schema_dialect_uri
end
|
#kw_classes ⇒ Object
20
21
22
|
# File 'lib/skooma/objects/base.rb', line 20
def kw_classes
[]
end
|