Skip to content

Commit

Permalink
Update reference used to retrieve parameter from cache (#6210)
Browse files Browse the repository at this point in the history
* Update reference used to retrieve parameter from cache

* Update version and changelog
  • Loading branch information
chidozieononiwu authored May 22, 2023
1 parent 591da95 commit ffe81df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release History

## 1.0.9 (5-22-2023)
+ Support schema for parameters referenced in relative files

## 1.0.8 (3-1-2023)

+ Skip any invalid swagger file path when generating API review
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static async Task<SwaggerApiViewSpec> GenerateSwaggerApiView(SwaggerSpec
var referenceSwaggerSpec = await SwaggerDeserializer.Deserialize(referenceSwaggerFilePath);
referenceSwaggerSpec.swaggerFilePath = Path.GetFullPath(referenceSwaggerFilePath);
AddDefinitionsToCache(referenceSwaggerSpec, referenceSwaggerFilePath, schemaCache);
param = schemaCache.GetParameterFromCache(parameter.Ref, referenceSwaggerFilePath);
param = schemaCache.GetParameterFromCache(parameter.Ref, currentSwaggerFilePath);
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ToolCommandName>swaggerAPIParser</ToolCommandName>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>swagger_api_parser</RootNamespace>
<VersionPrefix>1.0.8</VersionPrefix>
<VersionPrefix>1.0.9</VersionPrefix>
<AssemblyName>Azure.Sdk.Tools.SwaggerApiParser</AssemblyName>
<SignAssembly>True</SignAssembly>
<InformationalVersion>$(OfficialBuildId)</InformationalVersion>
Expand Down

0 comments on commit ffe81df

Please sign in to comment.