Skip to content
Snippets Groups Projects
Unverified Commit c730f78b authored by Alex Clemmer's avatar Alex Clemmer Committed by GitHub
Browse files

Merge pull request #78 from abiogenesis-now/fix-opt-param-bug

[bug fix] Fix optionalParam defaults
parents 98dd9bfe 35d79dbc
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 {
s.Params = append(s.Params, &ParamSchema{
Name: split[0],
Alias: &split[0],
Description: split[2],
Default: &split[3],
Default: &split[2],
Description: split[3],
Type: pt,
})
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