zulip/zerver/openapi
Zixuan James Li fe1a2f6f02 realm_playgrounds: Refactor error handling for validation on creation.
Previously, the view function was responsible for doing a first pass of
the validations done for RealmPlayground. It is no longer true now. This
refactors do_add_realm_playground to check_add_realm_playground and make
it responsible for validating the playground fields and doing error
handling for the ValidationError raised.
2023-07-24 17:40:59 -07:00
..
__init__.py openapi: Add missing __init__.py; fix type errors hidden by its absence. 2021-07-05 12:20:39 -07:00
curl_param_value_generators.py realm_playgrounds: Refactor error handling for validation on creation. 2023-07-24 17:40:59 -07:00
javascript_examples.js message-type: Add support for "direct" as value for type parameter. 2023-04-18 12:29:33 -07:00
javascript_examples.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
markdown_extension.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
openapi.py ruff: Fix SIM118 Use `k not in d` instead of `k not in d.keys()`. 2023-07-24 10:39:28 -07:00
python_examples.py realm_playgrounds: Replace url_prefix with url_template. 2023-07-24 17:40:59 -07:00
test_curl_examples.py api-docs: Move markdown files to top level directory. 2023-02-02 17:25:40 -08:00
testing.yaml test_openapi: Make testing.yml a full conformant specification. 2022-01-13 14:34:11 -08:00
zulip.yaml realm_playgrounds: Replace url_prefix with url_template. 2023-07-24 17:40:59 -07:00