Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

没有版本号造成错误 #32

Closed
chyroc opened this issue Sep 1, 2017 · 1 comment
Closed

没有版本号造成错误 #32

chyroc opened this issue Sep 1, 2017 · 1 comment

Comments

@chyroc
Copy link

chyroc commented Sep 1, 2017

配置:

{
    "version": "1",
    "inputs": [
        {
            "lang": "go",
            "dir": "./",
            "recursive": true
        }
    ],
    "output": {
        "dir": "./output/doc",
        "type": "html",
        "template":"",
        "port":":9999"
    }
}

错误:

[ERRO] 配置文件[.apidoc.json]中配置项[version]错误[格式不正确]

但是我项目里面还没有打tag,没有version

@chyroc
Copy link
Author

chyroc commented Sep 1, 2017

apidoc -g生成的配置文件解决了。

@chyroc chyroc closed this as completed Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant