基于官方的 2.10.5 版本集成了 spring-framework 5.3.18
解决 swagger (springfox) 在高版本的 springboot(依赖了高版本的 spring-framework)上集成失败的问题
这个 feature 分支仅仅扫描有
@Controller
和@RequestMapping
注解的类,以生成 swagger 文档see branch v2.11.0 base on branch v2.10.5
使用 ANT_PATH_MATCHER 作为 spring mvc path match 的策略
spring:
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER
see more demo
vim /springfox/.version
about
-P
see dirbuildSrc
# Local
./gradlew clean publishToMavenLocal -PbuildNumberFormat=-SNAPSHOT
# Nexus
./gradlew clean publish -PbuildNumberFormat=-SNAPSHOT
about
-P
see dirbuildSrc
# Local
./gradlew clean publishToMavenLocal -PbuildNumberFormat=
# Nexus
./gradlew clean publish -PbuildNumberFormat=
Build Status | Coverage |
---|---|
For more information on this project visit the Springfox Website or http://springfox.github.io/springfox/
- Reference Documentation
- Examples repository
- Contribution Guidelines
- Core contributors
- Development and contribution guidelines
- Change log
- Development Environment
- Release Instructions
Here is some preliminary documentation to help transition to 2.x
Copyright 2015 Marty Pitt - @martypitt, Dilip Krishnan - @dilipkrish, Adrian Kelly - @adrianbk,
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.