Our great sponsors
-
swagger-ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
You can use Swagger to create a nice documented API that they can explore, test and execute requests directly on the website. A good example is the Fitbit API.
You can also codegen to generate the front-end code for most frameworks and it also supports static types. This is amazing since they can get auto-completion based on the parameters of your API. For example, with Angular you can use NSwag to generate the client client-side proxies, it will even create the models/classes that you use on the back end so everything can be in sync.
Related posts
- Generating an OpenAPI/Swagger spec from a Ruby on Rails API
- Code generation from Swagger specification file
- In Visual Studio 2022 Is there a way to generate a function from an OpenApi yaml file
- Show HN: An opinionated and statically-typed TypeScript SDK generator
- Best approach to use swagger generated data-models in business logic app