@ Override public Map < String , ActionInputParameter > getRequiredParameters ( ) { Map < String , ActionInputParameter > ret = new HashMap < String , ActionInputParameter > ( ) ; for ( Map . Entry < String , ActionInputParameter > entry : requestParams . entrySet ( ) ) { ActionInputParameter annotatedParameter = entry . getValue ( ) ; if ( annotatedParameter . isRequired ( ) ) { ret . put ( entry . getKey ( ) , annotatedParameter ) ; } } for ( Map . Entry < String , ActionInputParameter > entry : pathVariables . entrySet ( ) ) { ActionInputParameter annotatedParameter = entry . getValue ( ) ; ret . put ( entry . getKey ( ) , annotatedParameter ) ; } // requestBody not supported, would have to use exploded modifier return ret ; }
Determines action input parameters for required url variables .