[bug] Add missing group property to the Account model (#3746)

* Stub out account's Group parameter

* Fix typo in Contributing documentation

* Update swagger and match style

* Update the swagger command to mimic test/swagger.sh

* Fix tests for new `group` param in Account model

* More test changes for new `group` param in Account

* Continuing test changes for `group` param stubbing

* Another round of `group` stubbing for tests
This commit is contained in:
pnwmatt 2025-02-08 04:04:30 -08:00 committed by GitHub
commit e10de8464a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 180 additions and 86 deletions

View file

@ -149,7 +149,7 @@ In case this post disappears, here are the steps (slightly modified):
>
> Add your fork as origin:
>
> `git remote add origin git@github.com/yourgithubname/gotosocial`
> `git remote add origin git@github.com:yourgithubname/gotosocial`
>
Be sure to run `git fetch` before building the project for the first time.
@ -489,7 +489,7 @@ You can install go-swagger following the instructions [here](https://goswagger.i
If you change Swagger annotations on any of the API paths, you can generate a new Swagger file at `./docs/api/swagger.yaml` by running:
```bash
swagger generate spec --scan-models --exclude-deps -o docs/api/swagger.yaml
go run github.com/go-swagger/go-swagger/cmd/swagger generate spec --scan-models --exclude-deps --output docs/api/swagger.yaml
```
### CI/CD configuration