forked from edgexfoundry/edgex-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove extra hyphen out of the core-metadata.yaml
Three map[string]any fields are recently added into DTOs: 1. tags field of Device DTO 2. properties field of Device DTO 3. properties field of ProvisionWatcher The proper way to show map[string]any in swagger is like following: tags: tag1: field1: "field1Value" field2: "field2Value" tag2: field3: "field3Value" field4: "field4Value" field5: "field5Value" However, edgexfoundry#4375 accidentally add extra hyphens like following: tags: - tag1: field1: "field1Value" field2: "field2Value" - tag2: field3: "field3Value" field4: "field4Value" field5: "field5Value" Those hyphens should be removed for proper map[string] representation. Signed-off-by: Jude Hung <[email protected]>
- Loading branch information
Showing
1 changed file
with
48 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters