Skip to content
Snippets Groups Projects
Commit 35d79dbc authored by Jessica Yao's avatar Jessica Yao
Browse files

fix opt param bug


Signed-off-by: default avatarJessica Yao <jessica@heptio.com>
parent 98dd9bfe
No related branches found
No related tags found
No related merge requests found
...@@ -240,8 +240,8 @@ func (s *SpecificationSchema) addField(tag, text string) error { ...@@ -240,8 +240,8 @@ func (s *SpecificationSchema) addField(tag, text string) error {
s.Params = append(s.Params, &ParamSchema{ s.Params = append(s.Params, &ParamSchema{
Name: split[0], Name: split[0],
Alias: &split[0], Alias: &split[0],
Description: split[2], Default: &split[2],
Default: &split[3], Description: split[3],
Type: pt, Type: pt,
}) })
default: default:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment