java netfox,springfox: Springfox的前身是swagger-springmvc,是一个开源的API doc框架,可以将我们的Controller的方法以文档的形式展现。...

Springfox

Join%20Chat.svg

git%2Bgithub.com%2Fspringfox%2Fspringfox.svg?type=shield

download.svg

26a074bdc4dc803e221dcd1870616895.gif

Build Status

Coverage

Code Analysis

master.svg?style=svg

badge.svg

measure?project=springfox_springfox&metric=alert_status

Sonar Cloud

measure?project=springfox_springfox&metric=security_rating

measure?project=springfox_springfox&metric=vulnerabilities

measure?project=springfox_springfox&metric=sqale_rating

measure?project=springfox_springfox&metric=reliability_rating

measure?project=springfox_springfox&metric=sqale_index

measure?project=springfox_springfox&metric=coverage

About

Useful links

Getting Started

For new projects

For Maven

io.springfox

springfox-boot-starter

3.0.0

For Gradle

implementation "io.springfox:springfox-boot-starter:"

Migrating from earlier snapshot

Spring Boot Applications

NOTE: Would love feedback to make this better

Remove explicit dependencies on springfox-swagger2

Remove any @EnableSwagger2... annotations

Add the springfox-boot-starter dependency

Springfox 3.x removes dependencies on guava and other 3rd party libraries (not zero dep yet! depends on spring plugin

and open api libraries for annotations and models) so if you used guava predicates/functions those will need to

transition to java 8 function interfaces.

Migrating from existing 2.x version

Spring Boot Applications

NOTE: Would love feedback to make this better

Remove explicit dependencies on springfox-swagger2

Remove the @EnableSwagger2 annotations

Add the springfox-boot-starter dependency

Springfox 3.x removes dependencies on guava and other 3rd party libraries (not zero dep yet! depends on spring plugin

and open api libraries for annotations and models) so if you used guava predicates/functions those will need to

transition to java 8 function interfaces

If you are using WebMvc but you don't use the @EnableWebMvc annotation yet, add this annotation.

Regular spring mvc

NOTE: Would love feedback to make this experience better

Remove explicit dependencies on springfox-swagger2

Add @EnableOpenApi for open API (and @EnableSwagger2WebMvc or @EnableSwagger2WebFlux for older versions)

Added the springfox-oas library

Springfox 3.x removes dependencies on guava and other 3rd party libraries (not zero dep yet! depends on spring plugin

and open api libraries for annotations and models) so if you used guava predicates/functions those will need to

transition to java 8 function interfaces

License

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.

License

git%2Bgithub.com%2Fspringfox%2Fspringfox.svg?type=large

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值