mirror of https://github.com/halo-dev/halo
Change portal.api to content.api.
parent
4c2eaa1266
commit
25ca8b96be
|
@ -63,8 +63,8 @@ public class SwaggerConfiguration {
|
||||||
public Docket haloDefaultApi() {
|
public Docket haloDefaultApi() {
|
||||||
log.debug("Doc disabled: [{}]", haloProperties.isDocDisabled());
|
log.debug("Doc disabled: [{}]", haloProperties.isDocDisabled());
|
||||||
// TODO Build with different security configuration
|
// TODO Build with different security configuration
|
||||||
return buildApiDocket("run.halo.app.portal.api",
|
return buildApiDocket("run.halo.app.content.api",
|
||||||
"run.halo.app.web.controller.portal.api",
|
"run.halo.app.web.controller.content.api",
|
||||||
"/api/**")
|
"/api/**")
|
||||||
.enable(!haloProperties.isDocDisabled());
|
.enable(!haloProperties.isDocDisabled());
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package run.halo.app.web.controller.portal.api;
|
package run.halo.app.web.controller.content.api;
|
||||||
|
|
||||||
import run.halo.app.model.vo.ArchiveMonthVO;
|
import run.halo.app.model.vo.ArchiveMonthVO;
|
||||||
import run.halo.app.model.vo.ArchiveYearVO;
|
import run.halo.app.model.vo.ArchiveYearVO;
|
|
@ -1,4 +1,4 @@
|
||||||
package run.halo.app.web.controller.portal.api;
|
package run.halo.app.web.controller.content.api;
|
||||||
|
|
||||||
import run.halo.app.model.dto.CommentOutputDTO;
|
import run.halo.app.model.dto.CommentOutputDTO;
|
||||||
import run.halo.app.model.entity.User;
|
import run.halo.app.model.entity.User;
|
|
@ -1,4 +1,4 @@
|
||||||
package run.halo.app.web.controller.portal.api;
|
package run.halo.app.web.controller.content.api;
|
||||||
|
|
||||||
import run.halo.app.model.vo.LinkTeamVO;
|
import run.halo.app.model.vo.LinkTeamVO;
|
||||||
import run.halo.app.service.LinkService;
|
import run.halo.app.service.LinkService;
|
|
@ -1,4 +1,4 @@
|
||||||
package run.halo.app.web.controller.portal.api;
|
package run.halo.app.web.controller.content.api;
|
||||||
|
|
||||||
import run.halo.app.model.dto.MenuOutputDTO;
|
import run.halo.app.model.dto.MenuOutputDTO;
|
||||||
import run.halo.app.service.MenuService;
|
import run.halo.app.service.MenuService;
|
|
@ -1,4 +1,4 @@
|
||||||
package run.halo.app.web.controller.portal.api;
|
package run.halo.app.web.controller.content.api;
|
||||||
|
|
||||||
import run.halo.app.model.dto.OptionOutputDTO;
|
import run.halo.app.model.dto.OptionOutputDTO;
|
||||||
import run.halo.app.model.support.BaseResponse;
|
import run.halo.app.model.support.BaseResponse;
|
|
@ -1,4 +1,4 @@
|
||||||
package run.halo.app.web.controller.portal.api;
|
package run.halo.app.web.controller.content.api;
|
||||||
|
|
||||||
import run.halo.app.model.dto.post.PostDetailOutputDTO;
|
import run.halo.app.model.dto.post.PostDetailOutputDTO;
|
||||||
import run.halo.app.model.dto.post.PostSimpleOutputDTO;
|
import run.halo.app.model.dto.post.PostSimpleOutputDTO;
|
|
@ -1,4 +1,4 @@
|
||||||
package run.halo.app.web.controller.portal.api;
|
package run.halo.app.web.controller.content.api;
|
||||||
|
|
||||||
import run.halo.app.model.dto.TagOutputDTO;
|
import run.halo.app.model.dto.TagOutputDTO;
|
||||||
import run.halo.app.model.dto.post.PostSimpleOutputDTO;
|
import run.halo.app.model.dto.post.PostSimpleOutputDTO;
|
|
@ -1,4 +1,4 @@
|
||||||
package run.halo.app.web.controller.portal.api;
|
package run.halo.app.web.controller.content.api;
|
||||||
|
|
||||||
import run.halo.app.model.dto.UserOutputDTO;
|
import run.halo.app.model.dto.UserOutputDTO;
|
||||||
import run.halo.app.service.UserService;
|
import run.halo.app.service.UserService;
|
Loading…
Reference in New Issue