zulip/zerver/openapi
Lauryn Menard 62e17c987f exceptions: Add IncompatibleParametersError as a JsonableError.
Creates an IncompatibleParametersError to be used in cases where
there are two (or more) optional parameters for an endpoint that
are incompatible with each other, e.g. there's a parameter for a
user name and a user ID but only one should be sent in the request
to identify the user.

Documents the error on the /api/rest-error-handling article.

Updates the PATCH users/me/subscriptions/muted_topics endpoint to
use this error when both the stream and stream_id parameters are
passed (note this endpoint is currently deprecated).
2024-04-29 16:58:47 -07:00
..
__init__.py
curl_param_value_generators.py user_groups: Remove unneeded fields from UserGroup model. 2024-04-26 17:03:09 -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 openapi: Get parameters from requestBody too. 2024-02-05 19:57:21 -05:00
openapi.py openapi: Validate real requests and responses, not fictional mocks. 2024-02-05 19:57:21 -05:00
python_examples.py api_documentation: Document "/invites/{prereg_id}" endpoint. 2024-04-20 18:12:04 -07:00
test_curl_examples.py requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
testing.yaml test_openapi: Make testing.yml a full conformant specification. 2022-01-13 14:34:11 -08:00
zulip.yaml exceptions: Add IncompatibleParametersError as a JsonableError. 2024-04-29 16:58:47 -07:00