mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 08:57:03 -05:00
swagger client generation
This commit is contained in:
parent
9e74de829e
commit
604f0a2477
1 changed files with 1 additions and 3 deletions
|
@ -66,6 +66,4 @@ git reset --hard origin/forgejo-federated-star
|
|||
|
||||
# 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.Person' --skip-validation
|
||||
|
||||
# add a new lib to project
|
||||
go run github.com/go-swagger/go-swagger/cmd/swagger@v0.30.5 generate client -f './templates/swagger/v1_json.tmpl' -c "modules/activitypub2" --operation 'activitypubPerson' --skip-models --existing-models 'github.com/go-ap/activitypub' --skip-validation
|
||||
|
|
Loading…
Reference in a new issue