Forum Discussion

sandy4swagger's avatar
Occasional Visitor
4 years ago

Pass parameter automatically when invoke APIs on SwaggerHub



 I'm new to SwaggerHub tool and want to understand if there is anyway we can modify its code to pass parameter value automatically when some API is invoked.


And this parameter value need to be passed based on Domain/Environment (STG/PRD).


Can someone please guide me how to proceed for this, if possible?



1 Reply

  • saiyajin's avatar
    SmartBear Alumni (Retired)


    SwaggerHub is a platform dedicated to write specifications of users` current or future APIs. While writing a specification (aka definition) you do not implement any business logic to it. You can pass parameters using "Try it out" functionality only. 

    Ultimately, I would like to conclude that there is no functionality implemented your are asking for.