Skip to content

Commit 391bee0

Browse files
benspethbspeth-afk
andauthored
v5.5.4 (#108)
* v5.5.4 * update --------- Co-authored-by: Benjamin SPETH <bspeth@ecovadis.com>
1 parent 13c4f5b commit 391bee0

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 5.5.4
8+
- fixed
9+
- Fixed an issue where teh async api schema generation was not working properly with Saunter 5.5.3
10+
711
## 5.5.3
812
- Changed
913
- Saunter nuget updated to v0.13.0 (Veracode flaw related to Newtonsoft 0.9.*)

src/Ev.ServiceBus.AsyncApi/DocumentFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private IMessage GenerateMessage(string payloadTypeId, Type payloadType, Documen
116116
{
117117
var message = new Message()
118118
{
119-
Name = payloadTypeId.Replace("/", "¤"),
119+
Name = payloadTypeId.Replace("/", "*"),
120120
Payload = GetOrCreatePayloadSchema(payloadType, context),
121121
ContentType = "application/json",
122122
Title = payloadTypeId,

tests/Ev.ServiceBus.AsyncApi.UnitTests/DocumentFilterTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public async Task CheckStateOfSenderApp()
107107
"$ref": "#/components/messages/WeatherForecast"
108108
},
109109
{
110-
"$ref": "#/components/messages/User¤UserCreated"
110+
"$ref": "#/components/messages/User*UserCreated"
111111
}
112112
]
113113
}
@@ -251,12 +251,12 @@ public async Task CheckStateOfSenderApp()
251251
}
252252
}
253253
},
254-
"User¤UserCreated": {
254+
"User*UserCreated": {
255255
"payload": {
256256
"$ref": "#/components/schemas/userCreated"
257257
},
258258
"contentType": "application/json",
259-
"name": "User¤UserCreated",
259+
"name": "User*UserCreated",
260260
"title": "User/UserCreated",
261261
"tags": [
262262
{

0 commit comments

Comments
 (0)