oas-schema-walker

1.1.5 • Public • Published

OAS-Schema-Walker

Functions

getDefaultState()

obtains the default starting state for the state object used by walkSchema

walkSchema(parent, state, callback,)

begins the walk of a schema object, or the state object used by walkSchema

getDefaultState() ⇒

obtains the default starting state for the state object used by walkSchema

Kind: global function Returns: the state object suitable for use in walkSchema

walkSchema(parent, state, callback,) ⇒

begins the walk of a schema object, or the state object used by walkSchema

Kind: global function Returns: the schema object

Param Description
parent the parent schema, if any. Use empty object if none
state the initial starting state of the walker, usually obtained from getDefaultState
callback, a function taking a schema, parent and state to be called on this and all subschemas

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.51,719,834latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.51,719,834
1.1.42,619
1.1.346
1.1.24,082
1.1.11
1.1.04
1.0.44
1.0.30
1.0.22
1.0.10
1.0.02

Package Sidebar

Install

npm i oas-schema-walker

Weekly Downloads

1,357,844

Version

1.1.5

License

BSD-3-Clause

Unpacked Size

7.59 kB

Total Files

4

Last publish

Collaborators

  • mermade
OSZAR »