coapi

Streamlining HTTP client definition in Spring 6, CoApi provides zero boilerplate code auto-configuration for more convenient and efficient interface calls | 简化 Spring 6 中 HTTP 客户端定义,提供零样板代码自动配置,让接口调用更便捷高效

15 articles 7 View on GitHub ↗
15 articles
Does CoApi Support Spring Boot 3.x? Version Compatibility and Setup Guide

Discover CoApi support for Spring Boot 3.x. Get a clear setup guide and version compatibility details for CoApi 1.x targeting Spring Boot 3.2.x and later.

getting-started
Feb 23, 2026
How to Integrate CoApi into Spring Boot Applications: A Step-by-Step Guide

Integrate CoApi into Spring Boot apps easily. Follow our step-by-step guide to add the starter dependency, enable CoApi, define interfaces, and inject clients for seamless integration.

how-to-guide
Feb 23, 2026
How to Add Custom Headers to a Specific CoApi Client Using WebClientBuilderCustomizer

Learn how to add custom headers to a specific CoApi client in Spring using WebClientBuilderCustomizer. Customize CoApi requests by overriding the customize method with defaultHeader or defaultHeaders.

how-to-guide
Feb 23, 2026
How to Migrate from Feign or OpenFeign to CoApi: A Step-by-Step Guide

Migrate from Feign OpenFeign to CoApi effortlessly. Replace annotations, update dependencies, and leverage CoApi for seamless reactive or synchronous HTTP calls with auto-configured WebClient RestClient.

migration-guide
Feb 23, 2026
How CoApi Handles Request and Response Body Conversion (JSON, XML, and Custom Formats)

Learn how CoApi manages request and response body conversion for JSON, XML, and custom formats. Discover its integration with Spring WebFlux WebClient for seamless data handling.

deep-dive
Feb 23, 2026
How CoApi Integrates with Spring Cloud LoadBalancer for Service Discovery

Learn how CoApi integrates with Spring Cloud LoadBalancer for seamless service discovery. Understand how it automatically routes requests using @LoadBalanced annotations and lb:// URLs.

how-to-guide
Feb 23, 2026
CoApi Internal Architecture: How AbstractCoApiRegistrar and CoApiFactoryBean Build Spring HTTP Clients

Explore CoApi's internal architecture. Learn how AbstractCoApiRegistrar and CoApiFactoryBean build Spring HTTP clients using JDK proxies for annotated interfaces.

internals
Feb 23, 2026
How CoApi Interceptors Work: Modify Requests and Responses in Spring Boot

Learn how CoApi interceptors modify Spring Boot requests and responses. Implement ClientHttpRequestInterceptor and configure via YAML for seamless integration.

how-to-guide
Feb 23, 2026
How to Write Unit Tests and Integration Tests for CoApi Client Interfaces

Learn to write unit and integration tests for CoApi client interfaces. Verify bean registration with ApplicationContextRunner and test proxies against real endpoints using WireMock.

how-to-guide
Feb 23, 2026
CoApi Configuration Properties: Complete Reference for application.yml

Explore the complete reference for CoApi configuration properties in application.yml or application.properties. Control client behavior, authentication, timeouts, retry policies, and observability.

api-reference
Feb 23, 2026
WebClient vs RestClient Backends in CoApi: A Complete Technical Comparison

Compare WebClient and RestClient backends in CoApi. Learn the key differences: WebClient offers non-blocking reactive calls, RestClient provides synchronous blocking requests. Understand CoApi's HTTP client configurations.

comparison
Feb 23, 2026
How to Add Bearer Token Authentication to CoApi Clients

Add Bearer token authentication to CoApi clients by implementing ExpirableTokenProvider and registering BearerTokenFilter. Secure your API requests automatically.

how-to-guide
Feb 23, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →