Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Incorrect JSON rendering of named primitive types #312

@zdne

Description

@zdne

Named primitive type, when used as a nested or member type is rendered as its type name instead of its value.

For example, the following blueprint:

# Rendering Test
## A [/a]
### Retrieve [GET]
- response 200 (application/json)
    - attributes
        - a (array[A Type])

### Data Structures

### A Type (string)
#### Sample
Hello

renders the response JSON as:

{
  "a": [
    "A Type"
  ]
}

the correct behavior should be:

{
  "a": [
    "Hello"
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions