All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.lkqm.spring.api.version.EnableApiVersioning Maven / Gradle / Ivy

Go to download

Simple development of multi-version api based on spring-mvc via @ApiVersion annotation, support for uri, header, param.

There is a newer version: 1.4.0
Show newest version
package com.github.lkqm.spring.api.version;

import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 开启多版本API控制
 *
 * @see ApiVersionProperties 配置属性
 * @see ApiVersionConfiguration 配置类
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(ApiVersionConfiguration.class)
public @interface EnableApiVersioning {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy