danielgtaylor / danielgtaylor/aglio

MSON Data structures are not working on v2.2.1

Open
#305 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
4.7k
Forks
471
PR merge metrics
No merged PRs in 30d

Description

When I write mson data structures in my api.md like this:
```
## Data Structures

### serversNum (object)

- `ip`: `string` (string)
- `num`: `0` (number)

### onlineNum (object)

- `totalNum`: `0` (number)
- `serversNum` (array[serversNum])
```
the json scheam it parsed is
```
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"totalNum": {
"type": "number"
},
"serversNum": {
"type": "array"
}
}
}
```
the schema of `serversNum` is missing!
So How can I solve this problem??

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.