You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Examples in models are always presented despite an existence test. If the element does not exist, null is represented as a value.
The marking of the required fields correctly displays non-existent elements as an empty values.
openapi-generator version
7.0.1
OpenAPI declaration file content or url
A json-example like this
..."Content": {
"type": "object",
"properties": {
"content": {
"type": "array",
"description": "Content of Document in Bytes",
"items": {
"type": "string",
"description": "Content of Document in Bytes",
"format": "byte"
}
}
},
"description": "Content of Document"
}
...
[#Content]
=== _Content_
Content of Document
[.fields-Content]
[cols="2,3,1,2,2"]
|===
| Name| Description| Required| Type| Example
| content
| Content of Document in Bytes
|
| List of <<ByteArray>>
| null
|===
but expected should it be like this
[#Content]
=== _Content_
Content of Document
[.fields-Content]
[cols="2,3,1,2,2"]
|===
| Name| Description| Required| Type| Example
| content
| Content of Document in Bytes
|
| List of <<ByteArray>>
|
|===
The text was updated successfully, but these errors were encountered:
Bug Report Checklist
Description
Examples in models are always presented despite an existence test. If the element does not exist, null is represented as a value.
The marking of the required fields correctly displays non-existent elements as an empty values.
openapi-generator version
7.0.1
OpenAPI declaration file content or url
A json-example like this
with a mustache-template like this
creates a asciidoc-output like this
[#Content] === _Content_ Content of Document [.fields-Content] [cols="2,3,1,2,2"] |=== | Name| Description| Required| Type| Example | content | Content of Document in Bytes | | List of <<ByteArray>> | null |===
but expected should it be like this
[#Content] === _Content_ Content of Document [.fields-Content] [cols="2,3,1,2,2"] |=== | Name| Description| Required| Type| Example | content | Content of Document in Bytes | | List of <<ByteArray>> | |===
The text was updated successfully, but these errors were encountered: