Expand description
Generative Schema Mode - Complete API ecosystem generation from JSON examples
This module provides functionality to generate entire API ecosystems from a few example JSON payloads. It automatically infers entity structures, routes, and relationships, creating a complete mock API ready for deployment.
§Features
- JSON → API Ecosystem: Generate complete APIs from JSON payloads
- Auto-Route Generation: Realistic CRUD mapping with proper HTTP methods
- Entity Relation Inference: Automatically detect relationships between entities
- One-Click Environment Creation: Generate and deploy in one command
- Preview/Edit Support: Review and modify generated schemas before deployment
- Configurable Naming: Custom naming and pluralization rules
- Reversibility: Regenerate schema from modified data
Re-exports§
pub use ecosystem_generator::EcosystemGenerationResult;pub use ecosystem_generator::EcosystemGenerator;pub use ecosystem_generator::GenerationOptions;pub use entity_inference::EntityDefinition;pub use entity_inference::EntityInference;pub use entity_inference::RelationshipType;pub use naming_rules::NamingRules;pub use naming_rules::PluralizationRule;pub use route_generator::CrudOperation;pub use route_generator::RouteDefinition;pub use route_generator::RouteGenerator;pub use schema_builder::SchemaBuilder;pub use schema_builder::SchemaPreview;
Modules§
- ecosystem_
generator - Ecosystem generator - Main entry point
- entity_
inference - Entity inference from JSON payloads
- naming_
rules - Naming and pluralization rules for generative schema mode
- route_
generator - Route generation for CRUD operations
- schema_
builder - Schema builder for preview and editing