Skip to content

Commit

Permalink
Do not call go get codegen in codegen script
Browse files Browse the repository at this point in the history
Signed-off-by: gagf01 <[email protected]>
  • Loading branch information
gagf01 committed Jun 22, 2021
1 parent 575c4da commit 5dc5b24
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 9 additions & 1 deletion tools/codegen/README.md
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
```
2 changes: 0 additions & 2 deletions tools/codegen/codegen.sh
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

0 comments on commit 5dc5b24

Please sign in to comment.