com.byeolnaerim:webflux-fe-dev-assistant
A local development automation library that generates Swagger, AsyncAPI, handler skeletons, and field enums from Spring WebFlux and MongoDB sources to reduce bottlenecks from writing the same URL, DTO, and API contracts twice while developing both backend and frontend.
Do not rewrite what has already been written in the backend
webflux-fe-dev-assistant is a local development automation library created to reduce repetitive tasks that arise while developing both backend and frontend together. It reads existing information from RouterFunction, handler, DTO, and entity source to generate Swagger/OpenAPI, RSocket AsyncAPI, handler skeletons, and MongoDB field enums.
The key is not to add a new runtime abstraction, but to connect the API contracts and types written once on the backend so that they are not rewritten on the frontend. By first writing the handler reference in the router, it creates the necessary skeleton, and generates string field names as enums from the source to reduce repetition and typos.
API contract automation
Analyze RouterFunction and handler·DTO to generate Swagger for REST and AsyncAPI for RSocket.
Repetitive code generation
Generate and correct handler class and method skeletons based on the references declared in the router.
Remove strings
Create enums for Mongo entity fields and collection names to reduce raw strings and typos in queries.
Automation Standards
Source of truth
Use backend source as the standard for API documentation and frontend generated code.
Development time
Creates files that can be checked by the local watcher without complicating the production runtime.
Project conventions
Analyzes code patterns used in actual projects predictably rather than guessing all forms.