adds a path entry representing an operation to this api spec . concode_field_sep String basePath concode_elem_sep long serialVersionUID concode_elem_sep Map<String,Map<String,PathEntry>> paths concode_elem_sep String host concode_elem_sep List<String> produces concode_elem_sep List<String> schemes concode_elem_sep Map<String,Definition> definitions concode_elem_sep String swagger concode_elem_sep Info info concode_elem_sep List<String> consumes concode_field_sep void setHost concode_elem_sep void setConsumes concode_elem_sep Info getInfo concode_elem_sep String getSwagger concode_elem_sep void setDefinitions concode_elem_sep void setSchemes concode_elem_sep List<String> getSchemes concode_elem_sep void setSwagger concode_elem_sep void setProduces concode_elem_sep void setBasePath concode_elem_sep Map<String,Map<String,PathEntry>> getPaths concode_elem_sep void addDefinition concode_elem_sep List<String> getConsumes concode_elem_sep List<String> getProduces concode_elem_sep void setPaths concode_elem_sep String getBasePath concode_elem_sep Map<String,Definition> getDefinitions concode_elem_sep void setInfo concode_elem_sep String getHost
void function ( String arg0 , HttpMethod arg1 , PathEntry arg2 ) { if ( paths == null ) { paths = new LinkedHashMap < > ( ) ; } if ( ! paths . containsKey ( arg0 ) ) { paths . put ( arg0 , new LinkedHashMap < String , PathEntry > ( ) ) ; } paths . get ( arg0 ) . put ( arg1 . name ( ) . toLowerCase ( ) , arg2 ) ; }