[python-experimental] adds new json content type (#13356)

* Adds json detection for application/json-patch+json

* Adds jsonPatch route and schemas

* Adds test_json_patch

* Unit test sample updated

* Reverts version files
This commit is contained in:
Justin Black
2022-09-05 09:37:01 -07:00
committed by GitHub
parent 2a8ea162d7
commit cb8d9d5bfe
34 changed files with 1580 additions and 24 deletions

View File

@@ -0,0 +1,8 @@
# petstore_api.model.json_patch_request.JSONPatchRequest
Type | Description | Notes
------------- | ------------- | -------------
**[bool, date, datetime, dict, float, int, list, str, none_type]** | |
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)

View File

@@ -0,0 +1,11 @@
# petstore_api.model.json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**op** | **str** | The operation to perform. |
**path** | **str** | A JSON Pointer path. |
**value** | **bool, date, datetime, dict, float, int, list, str, none_type** | The value to add, replace or test. |
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)

View File

@@ -0,0 +1,11 @@
# petstore_api.model.json_patch_request_move_copy.JSONPatchRequestMoveCopy
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**op** | **str** | The operation to perform. |
**path** | **str** | A JSON Pointer path. |
**from** |
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)

View File

@@ -0,0 +1,10 @@
# petstore_api.model.json_patch_request_remove.JSONPatchRequestRemove
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**op** | **str** | The operation to perform. |
**path** | **str** | A JSON Pointer path. |
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)