zulip/docs/tutorials
Lauryn Menard c2bcfb52aa api-tests: Reduce error output for `/register` openapi validation.
For descriptive endpoints, such as `/register`, that might raise
Schema Validation errors via `validate_against_openapi_schema`,
omits the OpenAPI schema definition in the error output.

Also omits the error instance definition in the error output
when it is a jsonschema object with over 100 properties. This
means that the test instance for objects, like user settings,
will be printed in the error output, but the test instance for
the entire endpoint will not be printed to the console.

The omitted output can be thousands of lines long making it
difficult to find the initial console output that actually helps
the contributor with debugging.

Adds a section in "Documenting REST API endpoints" about
debugging and understanding these errors that is linked to
in the error console output.
2023-01-17 14:50:42 -08:00
..
index.md docs: Convert reST index pages to Markdown. 2021-08-20 06:22:42 -07:00
life-of-a-request.md docs: Convert .html#fragment links to .md#fragment. 2022-02-28 16:28:31 -08:00
new-feature-tutorial.md api-tests: Reduce error output for `/register` openapi validation. 2023-01-17 14:50:42 -08:00
reading-list.md dev docs: Update Neil Green link in the reading list. 2021-11-30 14:36:29 -08:00
screenshot-and-gif-software.md docs: Remove link to defunct GIF Brewery website. 2022-10-20 15:52:18 -07:00
shell-tips.md docs: Convert .html#fragment links to .md#fragment. 2022-02-28 16:28:31 -08:00
writing-views.md actions: Delete zerver.lib.actions. 2022-04-14 17:14:38 -07:00