Skip to content

Plugin or other to modify response before display #5200

Open
@ALukonin

Description

@ALukonin
  • Browser: Chrome
  • Method of installation: git dist
  • Swagger-UI version: 3.20.0/4
  • Swagger/OpenAPI version: Swagger 2.0

image

I am trying to build a plugin or find a way to change the text displayed after the Try-it-out is executed.
I am trying to modify the text that is displayed in the Curl, Request URL, and Responses sections. I was trying to do this with the responseInterceptor, but it seems that the display is generated before the responseInterceptor is called, so any changes I made there do not reflect the printed data. I have looked at the plugin documentation but am having a hard time modifying it.

Can anyone help me do this or is there a different way of doing this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions