retrofit-spring-boot-starter icon indicating copy to clipboard operation
retrofit-spring-boot-starter copied to clipboard

A spring-boot starter for retrofit, supports rapid integration and feature enhancements.(适用于retrofit的spring-boot-starter,支持快速集成和功能增强)

Results 31 retrofit-spring-boot-starter issues
Sort by recently updated
recently updated
newest added

替换javax.annotation-api为jakarta.annotation-api以解决许可证风险

如题,对于@Intercept来说,这个方式很灵活,@Retry能否也支持这样的自定义方式

能否给同一个接口配置两个RetrofitClient Bean并且通过Bean name区分? 例如 ``` @RetrofitClient(baseUrl = "serviceOne", name="one") interface ServiceApi {} @RetrofitClient(baseUrl = "serviceTwo", name="two") interface ServiceApi {} ```

![image](https://user-images.githubusercontent.com/56039867/233028357-3bb0f3bf-0346-4268-acfb-96a8306027a4.png)

Bumps [spring-boot-autoconfigure](https://github.com/spring-projects/spring-boot) from 3.0.0 to 3.0.7. Release notes Sourced from spring-boot-autoconfigure's releases. v3.0.7 :lady_beetle: Bug Fixes Welcome page may return a 404 when an acceptable response cannot be produced #35553...

dependencies

背景: springboot267+lianjiatechretrofit2.1.3 设置了 ` jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 locale: zh_cn` 在实体属性声明为`java.util.Date`时,无法自动转换为上述指定格式,依然会提示: ` com.github.lianjiatech.retrofit.spring.boot.exception.RetrofitIOException: Cannot deserialize value of type `java.util.Date` from String "2023-07-14 23:59:59": not a valid representation (error:...

由于框架余留问题,我想问下,retrofit能和openfeign一起在一个项目中使用吗?我测试了下,发现好像全局熔断策略不生效

First up, kudos on the new Interceptor based design! Unfortunately, for any Interceptors that call `method.getDeclaringClass().getAnnotation(RetrofitClient.class)` there is a potential bug when using client interface heirarchies (affects [ErrorDecoder](https://github.com/LianjiaTech/retrofit-spring-boot-starter/blob/a110459dffeb96c3a6281d2a2db5e1574705fe2f/src/main/java/com/github/lianjiatech/retrofit/spring/boot/interceptor/ErrorDecoderInterceptor.java#L33) & Degrade...

- com.github.lianjiatech.retrofit.spring.boot.interceptor.ErrorDecoderInterceptor#intercept ```java @Override @SneakyThrows public Response intercept(Chain chain) throws IOException { Request request = chain.request(); Method method = Objects.requireNonNull(request.tag(Invocation.class)).method(); RetrofitClient retrofitClient = AnnotatedElementUtils.findMergedAnnotation(method.getDeclaringClass(), RetrofitClient.class); // 如果接口有继承关系,这里返回 null,导致 NPE ErrorDecoder...

It seems that okhttp3 needs to use version 5.0+ to support Native compilation