From 9e74de829ecd81f685a11a2758c43244d24a17b3 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 17 Nov 2023 13:38:20 +0100 Subject: [PATCH] swagger client generation --- docs/unsure-where-to-put/dev-notes.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/unsure-where-to-put/dev-notes.md b/docs/unsure-where-to-put/dev-notes.md index ebd052369a..28e243b622 100644 --- a/docs/unsure-where-to-put/dev-notes.md +++ b/docs/unsure-where-to-put/dev-notes.md @@ -66,5 +66,6 @@ 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' --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 \ No newline at end of file