Skip to content

onec-frameworkModel the business. Generate the rest.

Reusable Spring Boot starters that turn typed Java metadata — catalogs, documents, registers — into a database schema, a generic REST API, a server-driven UI, and an MCP tool surface for AI agents.

Get started

Add the starter (Java 21, Spring Boot 3.4.x). Packages are com.onec.*; the Maven group is io.github.onec-erp (open core, Apache-2.0).

xml
<dependency>
  <groupId>io.github.onec-erp</groupId>
  <artifactId>onec-framework-starter</artifactId>
  <version>0.10.0</version>
</dependency>

Then read Architecture for how it fits together, or the handoff guide for building an ERP on the published libraries.

How these docs are built

This site mixes hand-written guides with reference generated from the source of truth, so the reference can't drift from the code:

SurfaceSource of truthHow it's produced
Configuration propertiesthe @ConfigurationProperties Javadoc./gradlew generateConfigDocs renders each starter's spring-configuration-metadata.json; ./gradlew check fails if the committed file drifts
Java API (Javadoc)the Java source./gradlew aggregateJavadoc
Architecture, guidesmaintained by handwritten Markdown

Changing a property? Edit its Javadoc and run ./gradlew generateConfigDocs — never hand-edit the table. See Keeping docs in sync.

Released under the Apache-2.0 License.