swagger client generation
This commit is contained in:
parent
bc1ff23b23
commit
9e74de829e
1 changed files with 2 additions and 1 deletions
|
@ -66,5 +66,6 @@ git reset --hard origin/forgejo-federated-star
|
||||||
|
|
||||||
# generate swagger api client
|
# generate swagger api client
|
||||||
|
|
||||||
go run github.com/go-swagger/go-swagger/cmd/swagger@v0.30.5 generate client -f './templates/swagger/v1_json.tmpl' -c "code.gitea.io/sdk" --operation 'activitypubPerson' --skip-models --existing-models 'github.com/go-ap/activitypub' --skip-validation
|
go run github.com/go-swagger/go-swagger/cmd/swagger@v0.30.5 generate client -f './templates/swagger/v1_json.tmpl' -c "code.gitea.io/sdk" --operation 'activitypubPerson' --skip-models --existing-models 'github.com/go-ap/activitypub.Person' --skip-validation
|
||||||
|
|
||||||
|
# add a new lib to project
|
Loading…
Reference in a new issue