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
helpers FEATURE: Allow editing theme-owned palettes (#34722) 2025-10-06 09:02:39 +03:00
import_export
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
models FIX: Ensure scheduled problem checks honor perform_every configuration (#35291) 2025-10-09 15:04:46 +08:00
multisite
queries/reports
requests DEV: Fix api docs openapi spec validation errors (#35361) 2025-10-14 07:32:58 -06:00
script/import_scripts
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
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