Skip to content

Commit

Permalink
asyncapi#207 generate code from spec: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Senn Geerts authored and Senn Geerts committed Jul 21, 2024
1 parent 0caa451 commit dc2a3e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 2 additions & 5 deletions src/AsyncAPI.Saunter.Generator.SourceGenerator/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```<Csproj-root>/obj/Debug/<TargetFramework>/generated/AsyncAPI.Saunter.Generator.SourceGenerator/AsyncAPI.Saunter.Generator.SourceGenerator.SpecFirstCodeGenerator```
```
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>
```
Expand All @@ -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
```

0 comments on commit dc2a3e1

Please sign in to comment.