Skip to content

docs: update documentation for new package structure (Fixes #75)#81

Merged
michaelbe812 merged 6 commits intomainfrom
feat/75-update-documentation
Jan 23, 2026
Merged

docs: update documentation for new package structure (Fixes #75)#81
michaelbe812 merged 6 commits intomainfrom
feat/75-update-documentation

Conversation

@michaelbe812
Copy link
Contributor

Summary

  • Update all documentation to reflect the new package structure with @nx-plugin-openapi/core as the central package and generator plugins (plugin-openapi, plugin-hey-api)
  • Add comprehensive documentation for the plugin architecture
  • Add hey-api generator examples and configuration options
  • Update all executor references from @lambda-solutions/nx-plugin-openapi to @nx-plugin-openapi/core

Changes

Root README.md

  • Added package overview table with links to individual packages
  • Added architecture diagram showing core and plugins relationship
  • Added quick start examples for both generators
  • Added links to documentation site

Documentation Site (apps/docs)

Getting Started

  • overview.md: Explained plugin architecture, added available generators table, added generator comparison section
  • installation.md: Added installation instructions for core + plugins, documented auto-installation, added legacy package section
  • quick-start.md: Updated to use @nx-plugin-openapi/core:generate-api, added examples for both generators

Usage

  • configuration.md: Added generator option documentation, added generatorOptions section, updated executor references
  • examples.md: Added hey-api specific examples, updated all executor references
  • nx-integration.md: Updated all executor references

Reference

  • generate-api.md: Added generator option, added generatorOptions documentation, added hey-api section with options

Package READMEs

  • packages/core/README.md: Comprehensive documentation for the core package including executors, generators, and plugin development
  • packages/plugin-openapi/README.md: Documentation for the OpenAPI Generator plugin with options and examples
  • packages/plugin-hey-api/README.md: Documentation for the hey-api plugin with options and examples

Test plan

  • All linting passes (nx run-many --target=lint --all)
  • All tests pass (nx run-many --target=test --all)
  • Review documentation on docs site after merge

Fixes #75

🤖 Generated with Claude Code

michaelbe812 and others added 3 commits January 21, 2026 14:19
- Add comprehensive package overview table
- Add architecture diagram showing core and plugins
- Add quick start examples for both generators
- Add links to documentation site
- Document available generators (openapi-tools, hey-api)
- Update docs site with new architecture explaining core + plugins
- Update installation guide with @nx-plugin-openapi/core and plugin packages
- Update quick-start with generator option and hey-api examples
- Update configuration docs with generator and generatorOptions
- Update generate-api reference with all core options and hey-api section
- Update examples with hey-api specific examples
- Update nx-integration to use new package references
- Update core, plugin-openapi, and plugin-hey-api READMEs with comprehensive documentation
Add detailed documentation explaining how to create custom plugins to
integrate arbitrary OpenAPI code generators with the nx-plugin-openapi
plugin system. Includes:

- Step-by-step implementation guide
- Core concepts (interfaces, base class, context)
- Real-world examples (openapi-typescript, swagger-typescript-api)
- Best practices and troubleshooting tips
- Code examples for both API and CLI integration patterns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@michaelbe812
Copy link
Contributor Author

CleanShot 2026 01 22 - Google Chrome-Nx Plugin OpenAPI  Nx Plugin OpenAPI-001420@2x

Replace with statement about plugin system

@michaelbe812
Copy link
Contributor Author

Landingpage
CleanShot 2026 01 22 - Google Chrome-docs update documentation for new package structure (Fixes #75) by michaelbe812 · Pull Request #81 · berger-engineering-ionx-plugin-openapi-001422@2x

Add statement about plugin system

Copy link
Contributor Author

@michaelbe812 michaelbe812 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Summary

📊 Overall Assessment: Excellent Documentation Update

This PR comprehensively addresses issue #75 by updating all documentation to reflect the new modular package structure.


📊 Changes Reviewed

Category Files Changed Additions Deletions
Root README 1 127 4
Docs Site 9 1,299 95
Package READMEs 3 351 18
Total 13 1,779 117

✨ Highlights

  1. Excellent Architecture Documentation

    • Clear ASCII diagrams showing core/plugin relationships
    • Well-organized package overview tables
    • Proper links to documentation site
  2. Comprehensive Plugin Guide

    • The new apps/docs/src/content/docs/guides/creating-plugins.md (805 lines) is outstanding
    • Step-by-step implementation guide with real-world examples
    • Covers both API and CLI integration patterns
    • Includes best practices, troubleshooting, and error handling
  3. Consistent Updates Across All Docs

    • All executor references correctly updated from @lambda-solutions/nx-plugin-openapi to @nx-plugin-openapi/core
    • Generator option properly documented throughout
    • Both openapi-tools and hey-api generators covered
  4. Package READMEs

    • Each package now has proper documentation with installation, usage, and options
    • Consistent structure across all packages

✅ Verification

  • Linting passes (nx run-many --target=lint --all)
  • Tests pass (nx run-many --target=test --all)
  • Documentation structure is consistent
  • All internal links appear correct
  • Code examples are syntactically correct

📝 Minor Observations (Non-blocking)

  1. generate-api.md line 1540: File ends without a newline - very minor, but could be added for consistency

  2. hey-api version: The peer dependency mentions ^0.83.1 in plugin-hey-api README - ensure this matches what's in package.json


🎉 Conclusion

This PR represents significant effort to bring the documentation in line with the new package architecture. The new plugin creation guide is particularly valuable for the ecosystem. The documentation is well-written, thorough, and provides excellent guidance for both new users and those wanting to extend the plugin.

Great work! 👏


Automated review by Claude Code

michaelbe812 and others added 3 commits January 22, 2026 15:15
- Add Plugins section to documentation sidebar
- Create overview page explaining the plugin architecture
- Add dedicated pages for each plugin:
  - OpenAPI Generator plugin (@nx-plugin-openapi/plugin-openapi)
  - hey-api plugin (@nx-plugin-openapi/plugin-hey-api)
  - Legacy plugin (@lambda-solutions/nx-plugin-openapi)
- Include complete configuration reference for legacy plugin
- Update README with links to new plugins documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Move @lambda-solutions/nx-plugin-openapi docs to dedicated
  "Legacy Nx Plugin" top-level section
- Update landing page to highlight plugin system:
  - Replace "Flexible Configuration" with "Extensible Plugin System"
  - Add plugin architecture to features list
- Update plugins overview to reference new legacy section location
- Remove legacy plugin from plugins section (now standalone)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@michaelbe812 michaelbe812 merged commit 158dd70 into main Jan 23, 2026
1 check passed
@michaelbe812 michaelbe812 deleted the feat/75-update-documentation branch January 23, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Documentation for new packages

1 participant