Katrina Verey
f6b72077c8
Stop using deprecated ioutil functions
2022-08-10 18:22:46 -04:00
Natasha Sarkar
16dcc98cff
deprecate some cfg commands
2021-07-19 14:31:20 -07:00
Ma Xinjian
677ec868e0
Fix golint warning
...
golint warning: if block ends with a return statement, so drop this else and outdent its block
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com >
2021-04-30 09:22:57 +08:00
Gautier Delorme
7e622e1382
remove go-openapi/spec,validate,strfmt from cmd/config/
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com >
2021-04-25 16:57:39 +02:00
Phani Teja Marupaka
b6a4dd446a
Refactor openAPI
...
Refactor global openapi
2020-11-16 23:03:56 -08:00
jregan
966d0a054c
Fix go fmt.
2020-11-14 11:02:44 -08:00
Phani Teja Marupaka
2278e01b7f
Delete v1 setters code
2020-11-12 15:29:07 -08:00
Phani Teja Marupaka
e9ff26bb1b
Make recurse logic public
2020-10-19 12:26:15 -07:00
Morten Torkildsen
cfab28a5ff
Simplify the cmd/config ext package
2020-09-21 17:30:36 -07:00
Phani Teja Marupaka
fc690f14a8
Format the output of cfg commands
2020-09-11 14:49:18 -07:00
Phani Teja Marupaka
c4d937322f
Refactor subpackages logic
2020-09-08 11:23:54 -07:00
Phani Teja Marupaka
8d74b8c3b5
Fix setters subpkgs friction
2020-09-02 23:06:26 -07:00
Phani Teja Marupaka
f432f4d75e
Setters with subpackages
2020-09-01 10:54:08 -07:00
jregan
4dfe3c6296
Automated go.sum updates.
2020-08-15 19:18:08 -07:00
Morten Torkildsen
1b2a966c62
Improve the description of the --field flag for create-setter
2020-08-12 20:21:12 -07:00
Phani Teja Marupaka
83a70f7830
Error on creation if setter/subst exists
2020-08-06 11:02:20 -07:00
Phani Teja Marupaka
fc83477ec8
Throw insufficient arguments error for create-setter
2020-08-04 00:41:52 -07:00
Morten Torkildsen
52083c6e49
Validate schema when creating setter
2020-07-29 13:54:47 -07:00
Phani Teja Marupaka
68ab3b87d9
Required setters for apply
2020-06-22 22:33:21 -07:00
Phani Teja Marupaka
dbb16dcb6d
Suggested changes
2020-06-16 15:11:25 -07:00
Phani Teja Marupaka
0f0efe2a4c
Avoid manual step for creating array setters
2020-06-15 22:34:05 -07:00
Jijie Wei
e63b9ef825
update on util and comments
2020-05-29 16:23:10 -07:00
Jijie Wei
572260c0f0
change args to use flags instead, so that values starting with hyphen can be correctly parsed.
2020-05-29 12:45:31 -07:00
Phani Teja Marupaka
b3f5874978
Short hand notation for set
2020-05-21 11:15:16 -07:00
Phani Teja Marupaka
50cba50a8d
Add schema-path flag to input openAPI for setters
2020-05-16 18:36:05 -07:00
Phani Teja Marupaka
7309a5cb06
Suggested Changes
2020-05-06 12:38:12 -07:00
Phani Teja Marupaka
e771902a07
Avoid Setter and Substitution with same name
2020-05-05 14:47:28 -07:00
Phillip Wittrock
fa507f782f
Setters: support for explicit setter typing
...
- ensure OpenAPI definitions always uses strings for setter values
- allow the field type to be defined -- integer,boolean,string
- format values using yaml 1.1 compatibility
2020-02-27 11:51:18 -08:00
Phillip Wittrock
e004c31700
Make GetOpenAPIFile publicly settable
2020-02-21 08:09:48 -08:00
Phillip Wittrock
a49c9de4a4
wire create-setter 2.0 into command
2020-02-19 14:25:38 -08:00
Phani Teja Marupaka
72e7084639
Make filed optional flag for create setter
2020-02-05 09:21:45 -08:00
Phillip Wittrock
ac9b0a3e9e
kyaml setters: support full and partial field replacement
2020-01-02 14:00:43 -08:00
Phillip Wittrock
b37abbf057
Refactor set
...
- Implement inline setters as OpenAPI extensions
- Naming cleanup substitute -> set
- Documentation cleanup
- Simplify implementation
2020-01-02 08:32:38 -08:00