Skip to content

how to resolve $ref references #15

@FrancoConci

Description

@FrancoConci

I have the following OpenAPI3 section:

arrayProperty:
          type: array
          items:
            $ref: '#/components/schemas/ArrayItem'

I can get the "content" of the property items with the following Handlebar

{{#each property.items as |item itemName|}}
  {{itemName}} {{item}}
{{/each}}

with the following output:

items: 
    type string
    summaryAsHTML 
    descriptionAsHTML 
    generatedExample string

How can I resolve this reference? I'd like to access the properties of the ArrayItem and not the properties of the $ref object itself.
Any hint would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions