gotosocial/vendor/golang.org/x
Vyr Cossont fc3741365c
[bugfix] Fix Swagger spec and add test script (#2698)
* Add Swagger spec test script

* Fix Swagger spec errors not related to statuses with polls

* Add API tests that post a status with a poll

* Fix creating a status with a poll from form params

* Fix Swagger spec errors related to statuses with polls (this is the last error)

* Fix Swagger spec warnings not related to unused definitions

* Suppress a duplicate list update params definition that was somehow causing wrong param names

* Add Swagger test to CI

- updates Drone config
- vendorizes go-swagger
- fixes a file extension issue that caused the test script to generate JSON instead of YAML with the vendorized version

* Put `Sample: ` on its own line everywhere

* Remove unused id param from emojiCategoriesGet

* Add 5 more pairs of profile fields to account update API Swagger

* Remove Swagger prefix from dummy fields

It makes the generated code look weird

* Manually annotate params for statusCreate operation

* Fix all remaining Swagger spec warnings

- Change some models into operation parameters
- Ignore models that already correspond to manually documented operation parameters but can't be trivially changed (those with file fields)

* Documented that creating a status with scheduled_at isn't implemented yet

* sign drone.yml

* Fix filter API Swagger errors

* fixup! Fix filter API Swagger errors

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-03-06 18:05:45 +01:00
..
arch [chore]: Bump github.com/gin-contrib/cors from 1.4.0 to 1.5.0 (#2388) 2023-11-27 13:15:03 +00:00
crypto [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
exp [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
image [chore]: Bump golang.org/x/image from 0.14.0 to 0.15.0 (#2506) 2024-01-09 10:40:59 +01:00
mod [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
net [chore]: Bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 (#2629) 2024-02-12 10:04:32 +00:00
oauth2 [chore]: Bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 (#2258) 2023-10-09 08:36:33 +00:00
sync [chore]: Bump github.com/jackc/pgx/v5 from 5.4.3 to 5.5.0 (#2336) 2023-11-06 14:44:53 +00:00
sys [chore]: Bump golang.org/x/crypto from 0.18.0 to 0.19.0 (#2632) 2024-02-12 09:56:45 +00:00
text [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
tools [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00