diff --git a/Needlework.Net.Desktop/Needlework.Net.Desktop.csproj b/Needlework.Net.Desktop/Needlework.Net.Desktop.csproj
index 0a4e751..75338ff 100644
--- a/Needlework.Net.Desktop/Needlework.Net.Desktop.csproj
+++ b/Needlework.Net.Desktop/Needlework.Net.Desktop.csproj
@@ -11,8 +11,8 @@
False
app.ico
NeedleworkDotNet
- 0.2.1.0
- 0.2.1.0
+ 0.2.2.0
+ 0.2.2.0
False
diff --git a/Needlework.Net.Desktop/ViewModels/OperationViewModel.cs b/Needlework.Net.Desktop/ViewModels/OperationViewModel.cs
index 3c964d5..02a3935 100644
--- a/Needlework.Net.Desktop/ViewModels/OperationViewModel.cs
+++ b/Needlework.Net.Desktop/ViewModels/OperationViewModel.cs
@@ -49,7 +49,7 @@ private AvaloniaList GetParameters(IList p
foreach (var parameter in parameters)
{
if (parameter.In != location) continue;
- pathParameters.Add(new ParameterViewModel(parameter.Name, parameter.Schema.Type, parameter.Required));
+ pathParameters.Add(new ParameterViewModel(parameter.Name, GetSchemaType(parameter.Schema), parameter.Required));
}
return pathParameters;