structurizr/json

Workspace id should be a string

m-steen opened this issue · 0 comments

Description

Contrary to the specification in structurizr.yaml, the id of a workspace is saved as a number instead of a string in the JSON file.

Steps to reproduce

  1. Take the Getting Started example workspace.dsl
  2. Give the workspace a name, e..g. workspace "Getting Started"
  3. Open the workspace in structurizr/lite
  4. Open the generated workspace.json
  5. Line 5 now reads: "id": 1, and should be "id": "1",

Screenshot

No response

Code sample

No response

Configuration

No response

Severity

Minor

Priority

I have no budget and there's no rush, please fix this for free

More information

No response