Hi. I try to make a template for asciidoc (asciidoctor, in fact). With test examples everythin is great. But I faced the following problem.
Here is the part of specification:
ModelMetaData:
required:
- members
- attributes
properties:
members:
description:
Meta data for members
additionalProperties: # key - memberId
$ref: '#/components/schemas/MemberMetaData'
attributes:
description:
Meta data for attributes
additionalProperties: # key - attributeId
$ref: '#/components/schemas/AttributeMetaData'
MemberMetaData:
required:
- text
properties:
text:
description:
id of the member as a text
type: string
aggregateText:
description:
aggregate of the member as a text
type: string
formulaeText:
description:
formulae of the member as a text
type: string
AttributeMetaData:
required:
- text
properties:
text:
description:
id of the attribute as a text
type: string
In the resulting table I get summaryAsHTML, descriptionAsHTML and generatedExample as extra rows and get empty descriptions.
The same problem is with Markdown template.
Here is the template code, that iterates through properties:
Hi. I try to make a template for asciidoc (asciidoctor, in fact). With test examples everythin is great. But I faced the following problem.
Here is the part of specification:
In the resulting table I get summaryAsHTML, descriptionAsHTML and generatedExample as extra rows and get empty descriptions.
The same problem is with Markdown template.
Here is the template code, that iterates through properties:
If the problem can be fixed in a template, just give a hint, I'll make PR for Markdown and if you don't mind I can make PR for asciidoc template.