Skip to content

Commit c15222f

Browse files
committed
docs; add link to config schema
1 parent d96edfb commit c15222f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,28 @@
22

33
### Config file DSL
44

5+
#### Schema
6+
7+
[JSON Schema Draft 4](https://raw.githubusercontent.com/Mermade/openapi-codegen/master/schemas/config.json)
8+
59
#### Example
610

711
```json
812
{
13+
"type": "documentation",
914
"defaults": {
1015
"exampleProperty": "exampleValue"
1116
},
1217
"directories": [
13-
"docs", "docs/assets", "docs/assets/css", "docs/assets/js", "docs/assets/images"
18+
"docs"
1419
],
1520
"partials": {
1621
"model": "model.mustache",
1722
"operation": "operation.mustache"
1823
},
1924
"transformations": [
20-
{ "input": "index.mustache", "output": "docs/index.html" },
25+
{ "template": "Hello from {{projectName}}", "output": "README.md" },
26+
{ "input": "index.mustache", "output": "docs/index.html" }
2127
]
2228
}
2329
```

0 commit comments

Comments
 (0)