You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,15 @@ This document is a short guide for contributing to this project.
9
9
Data Plane API is generated using [go-swagger](https://github.com/go-swagger/go-swagger) from the swagger spec found [here](https://github.com/haproxytech/client-native/blob/master/specification/build/haproxy_spec.yaml) using the following command.
10
10
11
11
```
12
-
make swagger
12
+
make generate
13
13
```
14
14
or if you prefer to run it directly (not in docker)
15
15
```
16
-
make swagger-native
16
+
make generate-native
17
17
```
18
18
19
+
`make generate-native` must also be used if you are using local client-native on disk (you have `replace github.com/haproxytech/client-native/v2 => ../client-native` in go.mod file)
20
+
19
21
This command generates some of the files in this project, which are marked with // Code generated by go-swagger; DO NOT EDIT.
20
22
comments at the top of the files. These are not to be edited, as they are overwritten when specification is changed and the above-mentioned command is run. If you want to change those files, please change the specification where necessary and then generate them again.
0 commit comments