-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I am facing issue while rendering examples for response code:
Here is my code in yaml file:
examples:
Invalid_Auth_Token:
success: false
errors:
- code: CS000
message: Invalid authorization token
warnings: null
It is rendering like in html:
{
"Invalid_Auth_Token" : {
"success" : false,
"errors" : [ {
"code" : "CS000",
"message" : "Invalid authorization token"
} ],
"warnings" : null
}
}
I want the response like :
Invalid_Auth_Token
{
"success" : false,
"errors" : [ {
"code" : "CS000",
"message" : "Invalid authorization token"
} ],
"warnings" : null
}
How can I get this.
I am using
swagger2markup-maven-plugin-1.3.4 to generate asciidocs
asciidoctor-maven-plugin to generate html
Metadata
Metadata
Assignees
Labels
No labels