DEV Community

TrystanCocolatte
TrystanCocolatte

Posted on

How to use Tin to quickly set up Swagger-UI in minutes?

Swagger-UI allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place. It’s automatically generated from your OpenAPI (formerly known as Swagger) Specification, with the visual documentation making it easy for back end implementation and client side consumption.

Tin is a product of TeamCode that can generate executable applications instantly without manual environment configuration. Users can click to run project directly in the cloud.

Login to Tin and clone the Swagger-UI app

  1. Click the Tin URL of Swagger-UI. https://www.teamcode.com/tin/clone?applicationId=270139780752936960

Users who have not logged in should sign up first.

  1. Log in to Tin with your email, Github account, or phone number.
    Image description

  2. (Optional) After logging in, you can change the “Application Name” or “Tag”。

  3. Click "Clone" button to clone the Tin app to your workspace.
    Note: Tin will give new users a free trial for a certain length of time, which is determined by the instance size. After the free trial time, the Tin app will automatically stop working. You will not be charged for the whole process.

  4. Click "RUN NOW" to initiate the application.
    Image description

  5. Click the "Endpoint List" button to go to the Endpoint list, with the entry points for all apps displayed. Click the URL of entry point.
    Image description
    Image description

You can use Swagger-UI now.
Image description

You can also use the Tin to quickly set up other open source projects, see the guide: https://www.teamcode.com/docs/en-US/tin/create-tin

Top comments (0)