Skip to content

Commit

Permalink
Fix bug where parameters weren't showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
BlossomiShymae committed Aug 10, 2024
1 parent 16d1887 commit dc538ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Needlework.Net.Desktop/Needlework.Net.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
</PropertyGroup>
<PropertyGroup Label="Avalonia">
<AvaloniaXamlIlDebuggerLaunch>False</AvaloniaXamlIlDebuggerLaunch>
<ApplicationIcon>app.ico</ApplicationIcon>
<ApplicationIcon>app.ico</ApplicationIcon>
<AssemblyName>NeedleworkDotNet</AssemblyName>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<FileVersion>0.2.0.0</FileVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
<FileVersion>0.2.1.0</FileVersion>
<AvaloniaXamlVerboseExceptions>False</AvaloniaXamlVerboseExceptions>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion Needlework.Net.Desktop/ViewModels/OperationViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private AvaloniaList<ParameterViewModel> GetParameters(IList<OpenApiParameter> p
var pathParameters = new AvaloniaList<ParameterViewModel>();
foreach (var parameter in parameters)
{
if (parameter.In != location) break;
if (parameter.In != location) continue;
pathParameters.Add(new ParameterViewModel(parameter.Name, parameter.Schema.Type, parameter.Required));
}

Expand Down

0 comments on commit dc538ee

Please sign in to comment.