forked from loafle/openapi-generator-original
Add a pathPrefix
key to the operations
key
This commit is contained in:
parent
11e56f5c9c
commit
1b1f860c82
@ -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>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user