Can we use OperationId value instead of tags for category in Resource summary Of smartdoc?

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 Solved
0 1 141
1 ACCEPTED SOLUTION

yes, but you'd need to change the smartdocs template.

View solution in original post

1 REPLY 1

yes, but you'd need to change the smartdocs template.