#NEWLINE# def getapi( self ) : #NEWLINE# #INDENT# '\n        Returns the api description.\n\n        :rtype: list of (path, :class:`FunctionDefinition`)\n        ' #NEWLINE# if ( self . _api is None ) : #NEWLINE# #INDENT# self . _api = [ ( path , f , f . _wsme_definition , args ) for ( path , f , args ) in self . _scan_api ( self ) ] #NEWLINE# for ( path , f , fdef , args ) in self . _api : #NEWLINE# #INDENT# fdef . resolve_types ( self . __registry__ ) #NEWLINE# #UNINDENT# #UNINDENT# return [ ( fdef , fdef ) for ( path , f , fdef , args ) in self . _api ]