model: eliminate double-mapping of generic data in response classes
Explicitly declare mapping of the "data" field in response classes. Therefore, the JSON setter setData() is no longer used. SecretResponse is split into subclasses for secret with and without metadata.
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
* Add support for `wrap_info` in data response models
|
||||
* Dependency updates
|
||||
* model and response classes implement `Serializable` (#57)
|
||||
* split `SercretResponse` into `PlainSecretResponse` and `MetaSecretResponse` subclasses (common API unchanged)
|
||||
|
||||
### Test
|
||||
* Tested against Vault 1.10.0
|
||||
|
Reference in New Issue
Block a user