Skip to content

Commit

Permalink
test: Fixed integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed May 19, 2024
1 parent 267714e commit 17ae36b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static ImmutableArray<EndPoint> PrepareData(
.Concat(settings.GenerateSdk || settings.GenerateConstructors ? [new EndPoint(
Id: "Constructors",
Namespace: settings.Namespace,
ClassName: settings.ClassName,
ClassName: settings.ClassName.Replace(".", string.Empty),
BaseUrl: openApiDocument.Servers.FirstOrDefault()?.Url ?? string.Empty,
Stream: false,
Path: string.Empty,
Expand Down
2 changes: 1 addition & 1 deletion src/libs/OpenApiGenerator.Core/Models/EndPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static EndPoint FromSchema(
var endPoint = new EndPoint(
Id: operation.Value.GetOperationIdOrCompute(path: path, operationType: operation.Key),
Namespace: settings.Namespace,
ClassName: settings.ClassName,
ClassName: settings.ClassName.Replace(".", string.Empty),
BaseUrl: string.Empty,
Stream: response?.Content.Keys
.Any(x => x.Contains("application/x-ndjson")) ?? false,
Expand Down

0 comments on commit 17ae36b

Please sign in to comment.