discourse/spec/requests/api/schemas
Blake Erickson febc2361bd
DEV: Document external topic id endpoints (#15897)
* DEV: Document external topic id endpoints

This commit documents the existing Create Topic endpoint with the
`external_id` param and documents the new get topic by external id
endpoint.

It also refactors the existing topic show endpoint to use the new format
where we load the expected json schema response from a file.

See: 71f7f7ed49

* clean up unused test variables
2022-02-10 19:01:19 -07:00
..
json DEV: Document external topic id endpoints (#15897) 2022-02-10 19:01:19 -07:00
schema_loader.rb DEV: Updates to api docs schema validation (#11801) 2021-01-21 18:23:23 -07:00