com.github.xiaoymin.knife4j.spring.extension.ApiAuthorExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of knife4j-spring Show documentation
Show all versions of knife4j-spring Show documentation
依赖Springfox框架,生成Spring的增强文档
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:55
*/
public class ApiAuthorExtension implements VendorExtension {
private final String author;
public ApiAuthorExtension(String author) {
this.author = author;
}
@Override
public String getName() {
return "x-author";
}
@Override
public String getValue() {
return author;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy