com.github.xiaoymin.knife4j.spring.extension.ApiOrderExtension Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD.
* All rights reserved.
* Official Web Site: http://www.xiaominfo.com.
* Developer Web Site: http://open.xiaominfo.com.
*/
package com.github.xiaoymin.knife4j.spring.extension;
import springfox.documentation.service.VendorExtension;
/***
*
* @since:knife4j 1.0
* @author [email protected]
* 2020/03/31 12:53
*/
public class ApiOrderExtension implements VendorExtension {
private final Integer order;
public ApiOrderExtension(Integer order) {
this.order = order;
}
@Override
public String getName() {
return "x-order";
}
@Override
public Integer getValue() {
return order;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy