Hi @Anil Sagar,
Our Client requirement is add Method header for resource url on method listing page of dev portal .
What I understand the method header is comming due the tags available in swagger and same category also coming from tags value in swagger swagger-screenshot.png .
If I remove the tags from swagger then I won't be able see the message header and Category in resource summary on dev portal screenshot before.png and resourse.png,
but I want to show category field in resource summary of smartdoc .
As per our client requirement for solution I have added custom html in Global :Custom text field of View on method listing page just before existing default text the result is for that screenshot result.png.
Custom HTML : html.png
CSS added in block for temporary
.node-teaser .method_details .title-header, .view .method_details .title-header
{ width: 108px; }
#resource_url{ width: 340px; }
Can we use the OperationId value instead of tags value in smartdoc template .I am not familiar with jquery and I am not getting which variable should be use to get the value of operationId .
Can you please guide better solution for this ?
Solved! Go to Solution.
yes, but you'd need to change the smartdocs template.
yes, but you'd need to change the smartdocs template.