Home Reference Source Repository
public class | source

Definitions

Swagger Definitions

Method Summary

Public Methods
public

Return the total number of definitions

public

walk(callback: function(index: number, name: string, definition: Definition)): Definitions

Walk through all definitions

Public Methods

public total(): number source

Return the total number of definitions

Return:

number

public walk(callback: function(index: number, name: string, definition: Definition)): Definitions source

Walk through all definitions

Params:

NameTypeAttributeDescription
callback function(index: number, name: string, definition: Definition)

function to exectute for each definition element.

Return:

Definitions