zulip/zerver
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
..
actions message send: Ignore alert words for presence idle users. 2023-01-06 17:08:20 -08:00
data_import uploads: Split out S3 and local file backends into separate files. 2023-01-09 18:23:58 -05:00
integration_fixtures/nagios
lib messages: Eliminate redundant realm fetch in has_message_access. 2023-01-10 15:27:55 -08:00
management ruff: Fix ISC001 Implicitly concatenated string literals on one line. 2023-01-04 16:25:07 -08:00
migrations uploads: Add LOCAL_AVATARS_DIR / LOCAL_FILES_DIR computed settings. 2023-01-09 18:23:58 -05:00
openapi api-tests: Reduce error output for `/register` openapi validation. 2023-01-17 14:50:42 -08:00
tests messages: Eliminate redundant realm fetch in has_message_access. 2023-01-10 15:27:55 -08:00
tornado tornado: Move internal tornado redirect to under /internal/. 2023-01-09 18:23:58 -05:00
views api-docs: Clarify only API doc paths check for endpoint info. 2023-01-10 15:32:47 -08:00
webhooks intercom: Return success on HEAD requests. 2023-01-06 13:32:47 -08:00
worker ruff: Fix PIE790 Unnecessary `pass` statement. 2023-01-04 16:25:07 -08:00
__init__.py
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py apps: Fix redirect from /apps -> https://zulip.com/apps/. 2022-12-30 17:47:16 -08:00
decorator.py decorator: Do not send HEAD response with non-empty body. 2023-01-06 13:32:47 -08:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py ruff: Fix ISC003 Explicitly concatenated string. 2023-01-04 16:25:07 -08:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py Upgrade Python requirements. 2023-01-04 11:08:56 -08:00
models.py settings: Rename helper function to check who can edit topics. 2022-12-13 23:11:50 -08:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00