From 604f0a2477b7c7e71162e54aa5e9fbb82c7def63 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 17 Nov 2023 17:19:08 +0100 Subject: [PATCH] swagger client generation --- docs/unsure-where-to-put/dev-notes.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/unsure-where-to-put/dev-notes.md b/docs/unsure-where-to-put/dev-notes.md index 28e243b622..67a8392dcc 100644 --- a/docs/unsure-where-to-put/dev-notes.md +++ b/docs/unsure-where-to-put/dev-notes.md @@ -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 \ No newline at end of file +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