-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not call go get codegen in codegen script
Signed-off-by: gagf01 <[email protected]>
- Loading branch information
gagf01
committed
Jun 22, 2021
1 parent
575c4da
commit 5dc5b24
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
# Générer du code à partir de la spécificiation OpenAPI | ||
# Générer du code à partir de la spécificiation OpenAPI | ||
|
||
``` | ||
go get github.com/deepmap/oapi-codegen/cmd/oapi-codegen | ||
``` | ||
|
||
``` | ||
./codegen.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/bin/bash | ||
|
||
go get github.com/deepmap/oapi-codegen/cmd/oapi-codegen | ||
|
||
oapi-codegen --config=config.yaml ../../api/openapi-v1.yaml |