{"id":19370555,"url":"https://github.com/simplifynet/simplify.web.swagger","last_synced_at":"2026-01-17T22:16:33.615Z","repository":{"id":39796066,"uuid":"237036723","full_name":"SimplifyNet/Simplify.Web.Swagger","owner":"SimplifyNet","description":"Swagger generation for Simplify.Web web-framework controllers","archived":false,"fork":false,"pushed_at":"2025-10-10T04:42:37.000Z","size":254,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-20T17:10:50.848Z","etag":null,"topics":["c-sharp","c-sharp-library","dotnet-core","dotnetcore","simplify","simplify-web","swagger"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimplifyNet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-29T17:01:36.000Z","updated_at":"2025-10-10T04:42:40.000Z","dependencies_parsed_at":"2024-06-05T17:53:00.572Z","dependency_job_id":null,"html_url":"https://github.com/SimplifyNet/Simplify.Web.Swagger","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/SimplifyNet/Simplify.Web.Swagger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplifyNet%2FSimplify.Web.Swagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplifyNet%2FSimplify.Web.Swagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplifyNet%2FSimplify.Web.Swagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplifyNet%2FSimplify.Web.Swagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimplifyNet","download_url":"https://codeload.github.com/SimplifyNet/Simplify.Web.Swagger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplifyNet%2FSimplify.Web.Swagger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28519880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","c-sharp-library","dotnet-core","dotnetcore","simplify","simplify-web","swagger"],"created_at":"2024-11-10T08:15:57.152Z","updated_at":"2026-01-17T22:16:33.610Z","avatar_url":"https://github.com/SimplifyNet.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simplify.Web.Swagger\n\n[![Nuget Version](https://img.shields.io/nuget/v/Simplify.Web.Swagger)](https://www.nuget.org/packages/Simplify.Web.Swagger/)\n[![Nuget Download](https://img.shields.io/nuget/dt/Simplify.Web.Swagger)](https://www.nuget.org/packages/Simplify.Web.Swagger/)\n[![Build Package](https://github.com/SimplifyNet/Simplify.Web.Swagger/actions/workflows/build.yml/badge.svg)](https://github.com/SimplifyNet/Simplify.Web.Swagger/actions/workflows/build.yml)\n[![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/nuget/Simplify.Web.Swagger)](https://libraries.io/nuget/Simplify.Web.Swagger)\n[![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/SimplifyNet/Simplify.Web.Swagger)](https://www.codefactor.io/repository/github/simplifynet/Simplify.Web.Swagger)\n![Platform](https://img.shields.io/badge/platform-.NET%206.0%20%7C%20.NET%20Standard%202.0-lightgrey)\n\n`Simplify.Web.Swagger` is a package which provides Swagger generation for [Simplify.Web](https://github.com/SimplifyNet/Simplify.Web) web-framework controllers.\n\n## Quick Start\n\n1. Add `Simplify.Web.Swagger`, `Swashbuckle.AspNetCore.SwaggerGen` and `Swashbuckle.AspNetCore.SwaggerUI` packages to your project\n\n```xml\n\u003cPackageReference Include=\"Simplify.Web.Swagger\" Version=\"1.0.*\" /\u003e\n\u003cPackageReference Include=\"Swashbuckle.AspNetCore.SwaggerGen\" Version=\"6.6.*\" /\u003e\n\u003cPackageReference Include=\"Swashbuckle.AspNetCore.SwaggerUI\" Version=\"6.6.*\" /\u003e\n```\n\n2. Add `AddSimplifyWebSwagger` in `AddSwaggerGen` registration and `Simplify.Web` controllers will be scanned during Swagger generation process.\n\n```csharp\nvar builder = WebApplication.CreateBuilder(args);\n\nbuilder.Services.AddEndpointsApiExplorer()\n .AddSwaggerGen(x =\u003e x.AddSimplifyWebSwagger());\n```\n\n3. Use Swagger as in regular ASP.NET Core project\n\n```csharp\nvar app = builder.Build();\n\napp.UseSwagger();\napp.UseSwaggerUI();\n\napp.UseSimplifyWeb();\n\nawait app.RunAsync();\n```\n\n4. Add controller Swagger attributes (if needed)\n\n```csharp\n[Get(\"/api/v1/users/{id}\")]\n[ApiVersion(\"1.0\")]\n[ProducesResponse(StatusCodes.Status200OK, \"application/json\")]\n[ProducesResponse(StatusCodes.Status500InternalServerError)]\npublic class GetController : Controller2\n{\n ...\n}\n```\n\n5. After application started go to \u003chttp://localhost:5000/swagger/index.html\u003e or \u003chttp://localhost:5000/swagger/v1/swagger.json\u003e to see generated Swagger\n\n## Example application\n\nBelow is the example of Swagger generated by `Simplify.Web.Swagger`:\n\n![Simplify](https://raw.githubusercontent.com/SimplifyNet/Simplify.Web.Swagger/master/images/screenshots/generated-swagger-example.png)\n\n## Contributing\n\nThere are many ways in which you can participate in the project. Like most open-source software projects, contributing code is just one of many outlets where you can help improve. Some of the things that you could help out with are:\n\n- Documentation (both code and features)\n- Bug reports\n- Bug fixes\n- Feature requests\n- Feature implementations\n- Test coverage\n- Code quality\n- Sample applications\n\n## Related Projects\n\nAdditional extensions to Simplify.Web live in their own repositories on GitHub. For example:\n\n- [Simplify.Web.Json](https://github.com/SimplifyNet/Simplify.Web.Json) - JSON serialization/deserialization\n- [Simplify.Web.Postman](https://github.com/SimplifyNet/Simplify.Web.Postman) - Postman collection and environment generation\n- [Simplify.Web.Multipart](https://github.com/SimplifyNet/Simplify.Web.Multipart) - multipart form model binder\n- [Simplify.Web.MessageBox](https://github.com/SimplifyNet/Simplify.Web.MessageBox) - non-interactive server side message box\n- [Simplify.Web.Templates](https://github.com/SimplifyNet/Simplify.Web.Templates) - .NET projects templates\n\n## License\n\nLicensed under the GNU Lesser General Public License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplifynet%2Fsimplify.web.swagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplifynet%2Fsimplify.web.swagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplifynet%2Fsimplify.web.swagger/lists"}