[英]Annotating swagger models (@ApiModelProperty) and apis/resources in different binaries/packages
Is annotating your data models in a different library/package and apis in a different package supported? 是否支持在其他库/程序包中注释数据模型以及在不同程序包中的api? Has any one tried this?
有人尝试过吗?
There shouldn't be any problem with that as long as everything is loaded within the scope of a single classloader. 只要一切都在单个类加载器的范围内加载,就不会有任何问题。 The scanning will be done on anything that's reachable.
扫描将在所有可达的地方进行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.