How to restrict spring controller at REST API level but registration

后端 未结 0 1286
死守一世寂寞
死守一世寂寞 2021-02-06 09:23

I have a spring controller annotated with @Controller and I wanted to make this controller serve REST API based on environment variable. I have put @Conditional to this controll

相关标签:
回答
  • 消灭零回复
提交回复
热议问题