JR-1991 / md-models

⚒️ - Rust parser for markdown data models
https://jr-1991.github.io/md-models/
MIT License
0 stars 1 forks source link

Code generation fails if markdown document does not contain front matter #3

Open haeussma opened 1 week ago

haeussma commented 1 week ago

Issue

When running md-models convert using a *.md data model, code generation fails. Although validate states that the document is valid.

Example to reproduce

# Calibration Standard Data Model

## Root objects

### Standard

- **molecule_id**
  - Type: string
  - Description: URI of the molecule (e.g. PubChem or ChEBI).
JR-1991 commented 1 week ago

You have to add the front matter to the markdown model. You can use the following:

---
repo: https://some.org
---