Sda.adds_border_device boolean not accepted for connectedToInternet and borderWithExternalConnectivity #65
Labels
api-improvement
DNA Center API should include this as improvement.
bug
Something isn't working
in-progress
Team is working to solve issue.
Prerequisites
Yes →
Example Payload:
Describe the bug
Class: classSda
Function: adds_border_device(headers=None, payload=None, active_validation=True, **request_parameters)
First issue:
The scheme under Developer DNAC Docs wants booleans for the keys borderWithExternalConnectivity and connectedToInternet as values. Unfortunately, in reality only strings are accepted by the DNA Center here.
Payload:
Error message:
When I adjust the validator, the API call works.
Also following values are accepted with adjusted validators:
Expected behavior
The API should accept Boolean according to the schema, but it does not.
Screenshots
Environment (please complete the following information):
Additional context
Thanks for maintaining the very good SDK 😊
The text was updated successfully, but these errors were encountered: