fun.hereis.code:swagger-pdf

The common code which are used frequently.

Лицензия

Лицензия

Категории

Категории

PDF Данные Swagger Межпрограммное взаимодействие REST Frameworks
Группа

Группа

fun.hereis.code
Идентификатор

Идентификатор

swagger-pdf
Последняя версия

Последняя версия

3.0.RLS
Дата

Дата

Тип

Тип

jar
Описание

Описание

The common code which are used frequently.
Организация-разработчик

Организация-разработчик

Pivotal Software, Inc.

Скачать swagger-pdf

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/fun.hereis.code/swagger-pdf/ -->
<dependency>
    <groupId>fun.hereis.code</groupId>
    <artifactId>swagger-pdf</artifactId>
    <version>3.0.RLS</version>
</dependency>
// https://jarcasting.com/artifacts/fun.hereis.code/swagger-pdf/
implementation 'fun.hereis.code:swagger-pdf:3.0.RLS'
// https://jarcasting.com/artifacts/fun.hereis.code/swagger-pdf/
implementation ("fun.hereis.code:swagger-pdf:3.0.RLS")
'fun.hereis.code:swagger-pdf:jar:3.0.RLS'
<dependency org="fun.hereis.code" name="swagger-pdf" rev="3.0.RLS">
  <artifact name="swagger-pdf" type="jar" />
</dependency>
@Grapes(
@Grab(group='fun.hereis.code', module='swagger-pdf', version='3.0.RLS')
)
libraryDependencies += "fun.hereis.code" % "swagger-pdf" % "3.0.RLS"
[fun.hereis.code/swagger-pdf "3.0.RLS"]

Зависимости

compile (9)

Идентификатор библиотеки Тип Версия
io.projectreactor : reactor-core jar 3.1.6.RELEASE
org.springframework.boot : spring-boot-starter-web jar 1.5.22.RELEASE
org.springframework.boot : spring-boot-starter-freemarker jar 1.5.22.RELEASE
fun.hereis.code : spring jar 3.0.RLS
commons-io : commons-io jar 2.6
io.github.swagger2markup : swagger2markup jar 1.3.1
org.asciidoctor : asciidoctorj jar 1.5.8
org.asciidoctor : asciidoctorj-pdf jar 1.5.0-alpha.10.1
org.jruby : jruby-complete jar 9.1.17.0

Модули Проекта

Данный проект не имеет модулей.

common code

Here are many really common codes which are used while coding javaweb project especially developed with spring framework.

#发布 MavenCentral skyding 1qaz4#EDC mvn deploy wch17

projects

  • code The parent project.

  • utils many static util methods.

swagger 使用nginx配置之后host不正确

proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
  • 方法2: 配置固定host 在application.properties 配置swagger.host

guava cache

  • 异步刷新 异步刷新的第一次会同步加载

  • getIfPresent 与 get 区别

get会触发加载,无论同步异步,如果不存在时就会进行加载。 getIfPresent 不存在时直接返回null,存在时会如果需要,会触发加载(过期时不会触发加载)

  • 多线程同时请求同一个不存在的key时,会进行几次加载?

同步/异步刷新均请求一次。

  • 到了过期时间之后请求,返回什么? 同步/异步都是直接调用加载方法重新加载 加载失败:直接抛出异常

  • 到了刷新时间之后请求,返回什么? 同步直接重新加载,异步触发加载但是返回之前数据; 加载失败: 同步直接抛出异常,异步如果加载失败,返回前值,并且之后每次请求都会进行刷新

Версии библиотеки

Версия
3.0.RLS
2.1.RLS
2.0.RLS
1.17.RLS
1.16.RLS
1.15.RLS