From 02ffbcdbb8ddba879b461d18468a4436e7b977a1 Mon Sep 17 00:00:00 2001 From: Senn Geerts Date: Sun, 7 Jul 2024 11:12:13 +0200 Subject: [PATCH] #197 Produce AsyncAPI documents at build time --- .../AsyncAPI.Saunter.Generator.Build.csproj | 12 +----------- src/AsyncAPI.Saunter.Generator.Build/readme.md | 4 ++-- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/AsyncAPI.Saunter.Generator.Build/AsyncAPI.Saunter.Generator.Build.csproj b/src/AsyncAPI.Saunter.Generator.Build/AsyncAPI.Saunter.Generator.Build.csproj index e9591e8b..04be28ce 100644 --- a/src/AsyncAPI.Saunter.Generator.Build/AsyncAPI.Saunter.Generator.Build.csproj +++ b/src/AsyncAPI.Saunter.Generator.Build/AsyncAPI.Saunter.Generator.Build.csproj @@ -47,17 +47,7 @@ - - - - - - + diff --git a/src/AsyncAPI.Saunter.Generator.Build/readme.md b/src/AsyncAPI.Saunter.Generator.Build/readme.md index 6b5971d1..3f601640 100644 --- a/src/AsyncAPI.Saunter.Generator.Build/readme.md +++ b/src/AsyncAPI.Saunter.Generator.Build/readme.md @@ -23,5 +23,5 @@ If the ```AsyncAPI.Saunter.Generator.Build``` Nuget package is referenced, the d - AsyncAPIDocumentOutputPath: Output path for the AsyncAPI spec files, relative to the csproj location. (default is the csproj root path: ./) - AsyncAPIDocumentNames: The AsyncAPI documents to generate. (default: generate all known documents) - AsyncAPIDocumentFilename: Template of the AsyncAPI spec files (default: "{document}_asyncapi.{extension}") -- AsyncAPIDocumentEnvVars: Environment variable(s) to set during generation of the AsyncAPI spec files (default: none, Example: "ASPNETCORE_ENVIRONMENT=Development") -None of these properties are mandatory. By only referencing the [AsyncAPI.Saunter.Generator.Build](https://www.nuget.org/packages/AsyncAPI.Saunter.Generator.Build) Nuget package a json AsyncAPI spec file will be generated for all AsyncAPI documents. \ No newline at end of file +- AsyncAPIDocumentEnvVars: Environment variable(s) to set during generation of the AsyncAPI spec files (default: none, Example: "ASPNETCORE_ENVIRONMENT=Development") +None of these properties are mandatory. Only referencing the [AsyncAPI.Saunter.Generator.Build](https://www.nuget.org/packages/AsyncAPI.Saunter.Generator.Build) Nuget package will generate a json AsyncAPI spec file for all AsyncAPI documents. \ No newline at end of file