discourse/spec
Blake Erickson 66c63774ac
DEV: Fix api docs openapi spec validation errors (#35361)
When validating the openapi spec we were getting the following errors:

```
{
  "messages": [
    "attribute paths.'/categories.json'(post).responses.200.content.'application/json'.schema. is not of type `object`",
    "attribute paths.'/categories/{id}.json'(put).responses.200.content.'application/json'.schema. is not of type `object`",
    "attribute paths.'/c/{id}/show.json'(get).responses.200.content.'application/json'.schema. is not of type `object`",
    "attribute paths.'/posts.json'(get).responses.200.content.'application/json'.schema.items is not of type `object`",
    "attribute paths.'/groups/by-id/{id}.json'(get).operationId is repeated"
  ]
}
```

These changes resolve those openapi spec validation errors.

See:
https://github.com/discourse/discourse_api_docs/pull/139#issuecomment-3393138056
2025-10-14 07:32:58 -06:00
..
db/migrate DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
fabricators FIX: Remove error section when viewing details for received emails (#35228) 2025-10-07 16:25:11 +08:00
fixtures SECURITY: Use nonce-based restrictions during restore 2025-09-30 10:09:46 +08:00
generator DEV: Silence the output of migration specs (#26365) 2024-03-26 11:32:44 +01:00
helpers FEATURE: Allow editing theme-owned palettes (#34722) 2025-10-06 09:02:39 +03:00
import_export DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
initializers DEV: Patch ActiveRecord's postgresql adapter .new_client (#33820) 2025-09-18 11:34:37 +08:00
integration FEATURE: Allow editing theme-owned palettes (#34722) 2025-10-06 09:02:39 +03:00
integrity Build(deps): Bump propshaft from 1.2.1 to 1.3.1 (#34967) 2025-09-28 15:13:35 +02:00
jobs FEATURE: Also process manually updated translations (#35276) 2025-10-09 00:33:36 +08:00
lib DEV: Double timeout for spec in spec/defer_spec.rb (#35368) 2025-10-14 17:13:26 +08:00
mailers DEV: Remove ability to use users' names in group mention notifications and mentions shown in emails and added :user_notification_email_options plugin modifier to allow plugins reintroduce this or other modifications to emails (#33449) 2025-07-14 15:20:08 -05:00
models FIX: Ensure scheduled problem checks honor perform_every configuration (#35291) 2025-10-09 15:04:46 +08:00
multisite FEATURE: Themeable site settings (#32233) 2025-07-16 11:00:21 +10:00
queries/reports UX: Add admin report for associated accounts by login provider (#34187) 2025-08-14 09:24:14 -04:00
requests DEV: Fix api docs openapi spec validation errors (#35361) 2025-10-14 07:32:58 -06:00
script/import_scripts DEV: Catch missing translations during test runs (#26258) 2024-05-24 22:15:53 +08:00
serializers FIX: Do not return translated name when editing category (#35297) 2025-10-09 17:46:02 +08:00
services FEATURE: disable link notification user preference (#35352) 2025-10-14 10:53:05 +02:00
support DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
system FEATURE: disable link notification user preference (#35352) 2025-10-14 10:53:05 +02:00
tasks FIX: PG::UniqueViolation for PostTimings in posts:reorder_posts rake task when PostTiming records have no corresponding Post (#35212) 2025-10-08 18:48:21 +02:00
views FIX: Use correct subcategory subfolder path in crawler (#34250) 2025-08-12 16:14:50 +08:00
rails_helper.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
regenerate_swagger_docs
swagger_helper.rb DEV: Bump rswag-specs from 2.11.0 to 2.13.0 (#24654) 2023-12-07 08:16:47 +08:00