refactor(api): Restore the yaml() method to be compatible with older clients

This commit is contained in:
chuntaojun 2019-07-05 17:18:25 +08:00
parent 1119e9e332
commit 039baee47d

View File

@ -57,6 +57,15 @@ public @interface NacosConfigurationProperties {
*/
String dataId();
/**
* set config type is yaml
* this method is deprecated, we support you use {@link #type()} to set config type
*
* @return
*/
@Deprecated
boolean yaml() default false;
/**
* config style
*