You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fixing .Net 10 support
* Allowing consumers to overwrite the Swashbuckle.AspNetCore package as they please
* Fixing default version that was wrongfully changed
* Fixing failing tests by updating the OpenApi spec
* Updating readme
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,18 @@ For the TLDR version:
19
19
- The default value are defined in the property group on the target `ValidateOpenApi` in this file `./src/Workleap.OpenApi.MSBuild/msbuild/tools/Workleap.OpenApi.MSBuild.targets`
20
20
- Users can select whether to validate the API with frontend or backend ruleset depending on how they configure the `OpenApiServiceProfile` MSBuild property ([`backend` (default)](https://github.com/workleap/wl-api-guidelines/blob/main/.spectral.backend.yaml) or [`frontend`](https://github.com/workleap/wl-api-guidelines/blob/main/.spectral.frontend.yaml)).
21
21
22
+
## Which Swashbuckle.AspNetCore.Cli version is used?
23
+
The MSBuild task uses `Swashbuckle.AspNetCore.Cli` to generate OpenAPI specifications. The version is resolved in the following order (highest to lowest priority):
24
+
25
+
1.**Explicit configuration** - Set via the `OpenApiSwaggerVersion` MSBuild property:
0 commit comments