How to update swagger at our own Indexer

There are 2 points in question, which we would like to adjust to our needs.

  1. Update of the server URL

    image

  2. adjusting of the präfix in front of the parameters to get “/v1.0/” like at the official proxy Swagger

Hey @Maik , how are you doing?

  1. Update of the server URL
    You can customize the Swagger server URL using the --swagger-url flag when starting the node.

  2. Adjust the prefix
    That difference between the Node API and Proxy API is architectural, so it’s not possible to change it without modifying the source code. Do you need the /v1.0/ prefix for a specific feature or use case?

1 Like

Hi Pedro,

thanks for coming back to that topic.

The idea behind adding /v1.0 was to adopt and equate the original path provided by Klever.

But if this is not easily possible I can add the /v1.0 at the –swagger-url flag so it gets displayed at the URL. It’s an easy workaround and results at the same goal.