From 35d79dbc4cbd8cec5b37c3c27f34f7d524ee61b8 Mon Sep 17 00:00:00 2001
From: Jessica Yao <jessica@heptio.com>
Date: Thu, 9 Nov 2017 09:42:05 -0800
Subject: [PATCH] fix opt param bug

Signed-off-by: Jessica Yao <jessica@heptio.com>
---
 prototype/specification.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/prototype/specification.go b/prototype/specification.go
index ff5476f8..f51bcf92 100644
--- a/prototype/specification.go
+++ b/prototype/specification.go
@@ -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:
-- 
GitLab