Skip to content

docs(readme): sync Architecture section with v3.0 channel EP and add YAML field conversion#730

Merged
tangcent merged 1 commit into
masterfrom
docs/readme-sync-arch-and-yaml
Jul 5, 2026
Merged

docs(readme): sync Architecture section with v3.0 channel EP and add YAML field conversion#730
tangcent merged 1 commit into
masterfrom
docs/readme-sync-arch-and-yaml

Conversation

@tangcent

@tangcent tangcent commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Summary

The README's Architecture section described a ExportOrchestrator → ClassExporter → ApiExporter pipeline, but ApiExporter no longer exists in the v3.0 rewrite — the export surface is now the Channel extension point (registered in plugin.xml). This PR syncs the README with the actual code and adds two missing feature rows.

Changes

Architecture section (content fix)

  • Removed ApiExporter — the class doesn't exist. The v3.0 export abstraction is Channel (see Channel.kt), whose own KDoc says it "merges the former ApiChannel (export surface) and the surviving ChannelSettingsExtension".
  • Added Channel extension point as the bullet that converts ApiEndpoint models to output formats — Markdown, Postman, cURL, HTTP Client, Hoppscotch (Beta). This is the v3.0 extensibility pillar (a new output target only needs a Channel impl, no core edits).
  • Reflected built-in ClassExporter implementations accurately: Spring MVC, Spring Cloud OpenFeign, JAX-RS, Spring Actuator, gRPC (per plugin.xml).
  • Added AI Assistant to the IDE layer — the ai/ package is a v3.0 pillar (AI-assisted rule authoring) that was missing from the diagram.

Feature rows (content fix)

  • Languages: added Groovy (optional)GroovyPsiAdapter is loaded by PsiLanguageAdapterLoader when the Groovy plugin is present, and easy-api-groovy.xml is declared as an optional dependency in plugin.xml.
  • Field Conversion: added To YAMLYamlFieldFormatChannel is registered in plugin.xml and honors @ConfigurationProperties prefix with Spring Boot application.yml semantics.
  • Convert Fields usage: added ToYaml to the action list.

Verification

Sync note

Companion PR opened on easy-yapi with the same content changes; branding (channel list, plugin name) preserved per SYNC.md §4.3 (IV-C).

@github-actions github-actions Bot added the type: doc Document task label Jul 5, 2026
Base automatically changed from release/v3.1.6 to master July 5, 2026 13:56
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

📦 Plugin has been packaged for this PR. You can download easy-api-3.1.6.252.0.zip from the GitHub Actions workflow run by clicking on the "Artifacts" dropdown.

…YAML field conversion

- Replace stale `ApiExporter` (no longer exists) with the `Channel` extension
  point — the actual v3.0 export abstraction registered in plugin.xml
- Reflect built-in ClassExporter implementations (Spring MVC, Feign, JAX-RS,
  Actuator, gRPC) and built-in channels (Markdown, Postman, cURL, HTTP Client,
  Hoppscotch Beta)
- Add the AI Assistant layer (ai/ package) — a v3.0 pillar missing from the
  diagram
- Add Groovy (optional) to the Languages row — GroovyPsiAdapter + optional
  easy-api-groovy.xml dep ship in the plugin
- Add To YAML to Field Conversion and the Convert Fields action list —
  YamlFieldFormatChannel is registered in plugin.xml
@tangcent tangcent force-pushed the docs/readme-sync-arch-and-yaml branch from 8e9b7f1 to 4b61fe3 Compare July 5, 2026 14:03
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

📦 Plugin has been packaged for this PR. You can download easy-api-3.1.6.252.0.zip from the GitHub Actions workflow run by clicking on the "Artifacts" dropdown.

@tangcent tangcent merged commit 8af5707 into master Jul 5, 2026
7 checks passed
@tangcent tangcent deleted the docs/readme-sync-arch-and-yaml branch July 5, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: doc Document task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant