feign-spring

This module overrides OpenFeign/feign annotation processing to instead use standard ones supplied by the spring annotations specification.

Лицензия

Лицензия

Категории

Категории

Feign Сеть HTTP Clients ORM Данные
Группа

Группа

com.marvinformatics.feign
Идентификатор

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

feign-spring
Последняя версия

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

0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

feign-spring
This module overrides OpenFeign/feign annotation processing to instead use standard ones supplied by the spring annotations specification.
Ссылка на сайт

Ссылка на сайт

https://github.com/velo/feign-spring/
Система контроля версий

Система контроля версий

https://github.com/velo/feign-spring/

Скачать feign-spring

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

<!-- https://jarcasting.com/artifacts/com.marvinformatics.feign/feign-spring/ -->
<dependency>
    <groupId>com.marvinformatics.feign</groupId>
    <artifactId>feign-spring</artifactId>
    <version>0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.marvinformatics.feign/feign-spring/
implementation 'com.marvinformatics.feign:feign-spring:0.1'
// https://jarcasting.com/artifacts/com.marvinformatics.feign/feign-spring/
implementation ("com.marvinformatics.feign:feign-spring:0.1")
'com.marvinformatics.feign:feign-spring:jar:0.1'
<dependency org="com.marvinformatics.feign" name="feign-spring" rev="0.1">
  <artifact name="feign-spring" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.marvinformatics.feign', module='feign-spring', version='0.1')
)
libraryDependencies += "com.marvinformatics.feign" % "feign-spring" % "0.1"
[com.marvinformatics.feign/feign-spring "0.1"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.springframework : spring-web jar 4.3.6.RELEASE

provided (1)

Идентификатор библиотеки Тип Версия
io.github.openfeign : feign-core jar 9.4.0

test (5)

Идентификатор библиотеки Тип Версия
com.marvinformatics.feign : feign-mock jar 0.4
io.github.openfeign : feign-jackson jar 9.4.0
junit : junit jar 4.12
org.hamcrest : hamcrest-core jar 1.3
org.hamcrest : hamcrest-library jar 1.3

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

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

feign-spring

Build Status Coverage Status Maven Central Issues Forks Stars

Feign Spring

This module overrides OpenFeign/feign annotation processing to instead use standard ones supplied by the spring annotations specification.

Currently Supported Annotation Processing

Feign only supports processing java interfaces (not abstract or concrete classes).

ISE is raised when any annotation's value is empty or null. Ex. Path("") raises an ISE.

Here are a list of behaviors currently supported.

Type Annotations

@RequestMapping

Appends the value to Target.url(). Can have tokens corresponding to @PathVariable annotations. The method sets the request method. The produces adds the first value as the Accept header. The consume adds the first value as the Content-Type header.

Method Annotations

@RequestMapping

Appends the value to Target.url(). Can have tokens corresponding to @PathVariable annotations. The method sets the request method.

Parameter Annotations

@PathVariable

Links the value of the corresponding parameter to a template variable declared in the path.

@RequestParam

Links the value of the corresponding parameter to a query parameter. When invoked, null will skip the query param.

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

Версия
0.1