From dc2a3e15a0018ad749cde0e30c96bb5bc9787b30 Mon Sep 17 00:00:00 2001 From: Senn Geerts Date: Sun, 21 Jul 2024 15:49:59 +0200 Subject: [PATCH] #207 generate code from spec: readme --- .gitignore | 2 +- src/AsyncAPI.Saunter.Generator.SourceGenerator/readme.md | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index cdf072a..8df0994 100644 --- a/.gitignore +++ b/.gitignore @@ -599,4 +599,4 @@ fabric.properties # End of https://www.gitignore.io/api/csharp,jetbrains,visualstudio /examples/StreetlightsAPI/Properties/launchSettings.json -*g.cs +*.g.cs diff --git a/src/AsyncAPI.Saunter.Generator.SourceGenerator/readme.md b/src/AsyncAPI.Saunter.Generator.SourceGenerator/readme.md index 81e4cbf..ceb9be8 100644 --- a/src/AsyncAPI.Saunter.Generator.SourceGenerator/readme.md +++ b/src/AsyncAPI.Saunter.Generator.SourceGenerator/readme.md @@ -13,13 +13,10 @@ After adding the nuget package reference, the AsyncAPI code generation needs to ``` ## Debugging options -Configure rosyln to emit generated source code files on disk. Default location: +Configure rosyln to emit generated source code files on disk. Default location: ```/obj/Debug//generated/AsyncAPI.Saunter.Generator.SourceGenerator/AsyncAPI.Saunter.Generator.SourceGenerator.SpecFirstCodeGenerator``` ``` - net8.0 - false - true ``` @@ -44,5 +41,5 @@ These files will not show up in Visual Studio by default, but these can be added Since these file are created on disk, most likely within a directory under git source control, these generated files can be excluded from git by adding this line to .gitignore file: ``` -*g.cs +*.g.cs ``` \ No newline at end of file