ICode9

精准搜索请尝试: 精确搜索
  • 解决swagger的类型转换报错问题2021-11-12 20:34:58

    今天发现项目启动时,会打印一堆报错。吓了一跳。 查看之后发现是swagger的错误提示。并不影响功能。但是看着一堆错误,也闹心不是? 所以还是要解决一下。 2020-11-04 10:50:46,383 [http-nio-9292-exec-3] WARN i.s.m.parameters.AbstractSerializableParameter:421 - Illegal Defa

  • Swagger22021-11-12 13:33:06

    Swagger2使用 一、引入pom依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <!--如果觉得ui不好看可以换个漂亮的--> <dependency&

  • Spring Boot 快速整合Swagger2021-11-09 10:03:29

    一、前言 Spring Boot作为当前最为流行的Java web开发脚手架,越来越多的开发者选择用其来构建企业级的RESTFul API接口。这些接口不但会服务于传统的web端(b/s),也会服务于移动端。在实际开发过程中,这些接口还要提供给开发测试进行相关的白盒测试,那么势必存在如何在多人协作中共享和及

  • Swagger简单使用2021-11-07 18:04:38

    Swagger 作用: ·1、实时更新后端接口信息(swagger-ui.html, 该页面用来协同前端同事进行接口对接)              2、swagger-ui.html在线测试接口 使用: 1、导入依赖(尽量不用3.0以上版本,3.0以上改动过大, 直接打开swagger-ui.html会显示404): <dependency>

  • RabbitMQ学习12--延迟队列2021-11-07 15:02:43

    1、从官网链接下载插件: Releases · rabbitmq/rabbitmq-delayed-message-exchange (github.com) 本文下载的是3.9.0版本。   2、安装插件 将下载的文件rabbitmq_delayed_message_exchange-3.9.0.ez,上传到服务器rabbitmq的安装目录下,执行如下命令: cd /usr/lib/rabbitmq/lib/rabbi

  • swagger 接受参数 Date 类型转换异常2021-11-03 14:03:33

    更新依赖  <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> <exclusions> <ex

  • spring boot swagger配置2021-11-03 09:00:13

    1.首先引入包 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <depend

  • SpringBoot整合Swagger无法访问swagger-ui.html的问题2021-10-30 22:04:49

    1.引入依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.8.0</version> </dependency> <dependency>

  • 自己常用依赖2021-10-30 14:05:18

    <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.3.2</version> </dependency> <!--自动代

  • springboot自定义starter组件-集成swagger3文档2021-10-21 14:31:14

    SpringBoot自动装配原理 springboot的核心就是自动装配,那么为什么引入jar,就能开箱即用? 通过查看源码可以发现项目启动,会去找META-INF/spring.factories,来获取需要自动装配的配置类的全限定名,再跟pom里引入的资源对比,最终判断是否符合装配条件。 自定义一个自己的Starter,提

  • 如何整合Swagger(2篇博客说明白)2021-10-20 15:03:51

    博客一: (15条消息) 如何在SpringBoot项目中整合Swagger_正在努力的阿玉的博客-CSDN博客_springboot项目添加swagger     import com.google.common.base.Predicates; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Co

  • Swagger2和Swagger3用法简介2021-10-15 14:34:24

    导入需要的包 地址 https://mvnrepository.com/ Swagger2需要的包 1. Springfox Swagger2 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagge

  • swagger简单使用2021-10-10 20:02:19

    Swagger的简单使用 一、使用步骤: 1.导入依赖 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <versio

  • 2021-10-102021-10-10 18:02:58

    【Java】SpringBoot 之文档生成 part 1引入依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <!-- &&<artifactId>springfox-swagger-ui&l

  • Springboot2.x整合Swagger3.x2021-10-03 12:02:42

    1、SpringBoot添加pom文件依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.4.11</version> <relativePath/>

  • Swagger2021-10-03 12:01:31

    什么是Swagger 一句话,世界上最流行的Api框架 Swagger的优点 1.Api文档与Api定义实时同步更新 2.可以在线测试Api接口 3.支持多种编程语言 Springboot集成Swagger 1.导入依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <versi

  • 26-Swagger2021-09-26 14:00:59

    前后端集成联调,前端人员和后端人员无法做到“即使协商,尽早解决”,最终导致问题集中爆发;解决方案:首先指定schema[计划的提纲],实时更新最新API,降低集成的风险;·早些年:指定word计划文档;前后端分离: 。前端测试后端接口:postman 。后端提供接口,需要实时更新最新的消息及改动!

  • SpringBoot集成Swagger接口文档2021-09-21 00:00:02

    一、引入swagger依赖包: <!-- ######################## swagger2 (此三项依赖必须同时引入) start ########################## --> <!-- swagger2 依赖 --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-s

  • springboot整合swagger2021-09-20 14:02:37

      第一步 添加依赖 注意这里的版本号为2.9,前面试过3.0失败了显示不了ui.html这个页面,反正没整明白,换为2.9就好了 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> &

  • Swagger使用2021-09-13 23:30:41

    文章目录 步骤1:构建SpringBoot项目步骤2:导包(Maven)方式1:swagger2方式2:starter 步骤3:新增pojo类步骤4:新增Controller类步骤5:新增Swagger配置类步骤6:启动项目进入swagger-ui测试 步骤1:构建SpringBoot项目 新建"Spring Initializr"添加"Spring Web"模块 步骤2:导包(Maven)

  • SpringBoot整合Swagger32021-09-12 21:01:28

    第一步:引入SpringBoot整合Swagger2的最版版本3.0.0,目前的更新时间为2020年7月 <!--引入SpringBoot整合Swagger3的依赖--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</ver

  • swagger配置2021-09-10 18:31:53

    引入依赖 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId>

  • Swagger-UI简单使用2021-09-10 14:34:57

    pom <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.8.0</version> </dependency> <dependency>

  • Swagger2021-09-07 21:31:59

    <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swag

  • Swagger配置扫描接口以及开关2021-08-31 23:00:53

    配置扫描接口 package com.jie.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.PathSelectors; import springfox.documentation.builders.RequestHandle

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有