Forum Discussion

srgmat's avatar
srgmat
Occasional Contributor
5 years ago

Is it mandatory to have a server that starts with virtserver.swaggerhub.com?

Hello, recently I became a user of app.swaggerhub.com In the online editor - it lists two servers 0 -> virtserver.swaggerhub.com.* 1 -> my own server   If I delete server 0 - it automatically c...
  • HKosova's avatar
    5 years ago

    virtserver.swaggerhub.com is SwaggerHub's mock server:

    https://app.swaggerhub.com/help/integrations/api-auto-mocking

     

    The mock server is created and maintained automatically if you created the API with the "API Auto Mocking" option.

     

    If you don't need the mock server anymore, you can delete it as follows:

     

    1. Click the API name on the editor toolbar to open the API Info panel.
    2. Switch to the Integrations tab.
    3. Delete "API Auto Mocking" from the integrations list.
    4. Delete virtserver.swaggerhub.com from the servers list in your API definition.