mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-18 18:37:05 +00:00
Add a pathPrefix key to the operations key
This commit is contained in:
@@ -393,6 +393,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
|
||||
Map<String, Object> operations = new HashMap<String, Object>();
|
||||
Map<String, Object> objs = new HashMap<String, Object>();
|
||||
objs.put("classname", config.toApiName(tag));
|
||||
objs.put("pathPrefix", config.toApiVarName(tag));
|
||||
|
||||
// check for operationId uniqueness
|
||||
Set<String> opIds = new HashSet<String>();
|
||||
|
||||
Reference in New Issue
Block a user