mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
GITBOOK-3: Some structure fixes
This commit is contained in:
committed by
gitbook-bot
parent
8471c4a6bb
commit
d496d39584
@@ -7,9 +7,9 @@ There are two variants here:
|
||||
|
||||
The operations that preserve backward compatibility are:
|
||||
|
||||
* Delete fields
|
||||
* Deleting fields
|
||||
* Consumers with the newer version will just ignore the non-existing fields
|
||||
* Add optional fields (with default values)
|
||||
* Adding optional fields (with default values)
|
||||
* Consumers will set the default value for the missing fields in their schema version
|
||||
|
||||
<figure><img src="../../../.gitbook/assets/spaces_PQHX3w20BF4lnkckLJzC_uploads_git-blob-17547da367c50d28e6996ea1d3fab4d10625765b_sr_backward_compatibility.png" alt=""><figcaption></figcaption></figure>
|
||||
|
||||
@@ -9,7 +9,7 @@ The operations that preserve forward compatibility are:
|
||||
|
||||
* Adding a new field
|
||||
* Consumers will ignore the fields that are not defined in their schema version
|
||||
* Delete optional fields (with default values)
|
||||
* Deleting optional fields (with default values)
|
||||
* Consumers will use the default value for the missing fields defined in their schema version
|
||||
|
||||
<figure><img src="../../../.gitbook/assets/spaces_PQHX3w20BF4lnkckLJzC_uploads_git-blob-8139077e602e7c36543a4977fcb8655313e8f1b9_sr_forward_compat.png" alt=""><figcaption></figcaption></figure>
|
||||
|
||||
@@ -10,6 +10,6 @@ This is a combination of both compatibility types (backward and forward). It als
|
||||
This mode is preserved only if using the following operations
|
||||
|
||||
* Adding optional fields (with default values)
|
||||
* Delete optional fields (with default values)
|
||||
* Deleting optional fields (with default values)
|
||||
|
||||
<figure><img src="../../../.gitbook/assets/spaces_PQHX3w20BF4lnkckLJzC_uploads_git-blob-effb69104100a69f6101daee3cb01a88dded13d4_sr_full_compat.png" alt=""><figcaption></figcaption></figure>
|
||||
|
||||
Reference in New Issue
Block a user