mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
2.5.5
This commit is contained in:
@@ -57,7 +57,7 @@ public class ApiMetaBuilder {
|
||||
continue;
|
||||
}
|
||||
String key = apiMeta.fetchNameVersion();
|
||||
if (store.contains(key)) {
|
||||
if (!apiMeta.isOriginalMapping() && store.contains(key)) {
|
||||
throw new IllegalArgumentException("重复申明接口,请检查path和version,path:" + apiMeta.getPath() + ", version:" + apiMeta.getVersion());
|
||||
} else {
|
||||
store.add(key);
|
||||
|
Reference in New Issue
Block a user