#NEWLINE# @ property #NEWLINE# def requests( self ) : #NEWLINE# #INDENT# if self . swagger : #NEWLINE# #INDENT# ( yield Request ( self , '/swagger.json' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , 'get' , { #NEWLINE# #INDENT# 'operationId' : 'Swagger specifications' , #NEWLINE# 'summary' : 'The API Swagger specifications as JSON' , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# #UNINDENT# for ( path , operations ) in self . api . __schema__ [ 'paths' ] . items ( ) : #NEWLINE# #INDENT# path_params = operations . get ( 'parameters' , [ ] ) #NEWLINE# for ( method , operation ) in operations . items ( ) : #NEWLINE# #INDENT# if ( method != 'parameters' ) : #NEWLINE# #INDENT# ( yield Request ( self , path , path_params , operation , operation ) )