{"id":13629510,"url":"https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator","last_synced_at":"2025-04-17T09:34:27.959Z","repository":{"id":62330109,"uuid":"552053006","full_name":"s-tarasov/ST.NSwag.ServerSourceGenerator","owner":"s-tarasov","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-22T12:10:35.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-07T08:14:54.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s-tarasov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-15T17:55:37.000Z","updated_at":"2024-03-27T18:55:02.000Z","dependencies_parsed_at":"2023-01-22T04:18:21.961Z","dependency_job_id":null,"html_url":"https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-tarasov%2FST.NSwag.ServerSourceGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-tarasov%2FST.NSwag.ServerSourceGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-tarasov%2FST.NSwag.ServerSourceGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-tarasov%2FST.NSwag.ServerSourceGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-tarasov","download_url":"https://codeload.github.com/s-tarasov/ST.NSwag.ServerSourceGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223751193,"owners_count":17196588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-01T22:01:12.425Z","updated_at":"2024-11-08T20:31:07.454Z","avatar_url":"https://github.com/s-tarasov.png","language":"C#","readme":"# [ST.NSwag.ServerSourceGenerator](https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator) \n\nGenerates Web API/ASP.NET Core controllers from a OpenAPI specification.\n\nThis package is source generator for great [nswag tool](https://github.com/RicoSuter/NSwag). \nInspired by [H.NSwag.Generator](https://github.com/HavenDV/H.NSwag.Generator)\n\n### Install\n```\nInstall-Package ST.NSwag.ServerSourceGenerator\n```\n\n### Usage\n1. Put openapi specification in project dir and add AdditionalFiles tag to project\n\n```xml\n\u003cItemGroup\u003e\n        \u003cAdditionalFiles Include=\"example.openapi.yaml\" /\u003e\n\u003c/ItemGroup\u003e\n```\nor link specification outside project dir\n\n```xml\n\u003cItemGroup\u003e        \n        \u003cAdditionalFiles Include=\"..\\specs\\linkedExample.openapi.yaml\" Link=\"linkedExample.openapi.yaml\" /\u003e\n\u003c/ItemGroup\u003e\n```\n2. Add .nswag settings file in project dir with exact same name.  \nExample: example.openapi.yaml -\u003e example.openapi.yaml.nswag\n\n### Faq\n- How to generate or edit .nswag file?\n\u003e Use [NSwagStudio](https://github.com/RicoSuter/NSwag/wiki/NSwagStudio) \n","funding_links":[],"categories":["Contributors Welcome for those","Source Generators"],"sub_categories":["1. [ThisAssembly](https://ignatandrei.github.io/RSCG_Examples/v2/docs/ThisAssembly) , in the [EnhancementProject](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementproject) category","Webprogramming"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-tarasov%2FST.NSwag.ServerSourceGenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-tarasov%2FST.NSwag.ServerSourceGenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-tarasov%2FST.NSwag.ServerSourceGenerator/lists"}