Files
gitocean/modules/structs
Florian PallasandGusted cf17b5fad9 fix: correct malformed CreateTeamOption example (#11093)
The example was not a valid map, which caused issues with some openapi yaml converters.
I gave the two options proper values and also added them to the other team structs so the examples are identical.
Also sorted them as they are enumerated in the [unit model definition](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/models/unit/unit.go), which is why the diff is a bit ugly.

Fixes #9881

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11093
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Florian Pallas <mail@fpallas.com>
Co-committed-by: Florian Pallas <mail@fpallas.com>
2026-02-16 05:55:20 +01:00
..
2025-04-07 07:00:38 +00:00
2025-06-13 11:35:14 +02:00
2024-02-05 15:56:45 +01:00
2023-10-31 04:43:38 +00:00
2024-08-18 15:19:01 +02:00
2025-03-27 19:40:14 +00:00