Skip to content

Commit

Permalink
Merge pull request #393 from microsoft/andrueastman/fixdefaultCasing
Browse files Browse the repository at this point in the history
Fixes casing for innerError property in MainError
  • Loading branch information
andrueastman authored Jun 14, 2023
2 parents 8fcb046 + e3a242a commit 9bc5d29
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static OpenApiSchema CreateErrorMainSchema(string rootNamespaceName)
}
},
{
"innererror",
"innerError",
new OpenApiSchema
{
UnresolvedReference = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<PackageId>Microsoft.OpenApi.OData</PackageId>
<SignAssembly>true</SignAssembly>
<Version>1.5.0-preview1</Version>
<Version>1.5.0-preview2</Version>
<Description>This package contains the codes you need to convert OData CSDL to Open API Document of Model.</Description>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageTags>Microsoft OpenApi OData EDM</PackageTags>
<RepositoryUrl>https://github.com/Microsoft/OpenAPI.NET.OData</RepositoryUrl>
<PackageReleaseNotes>
- Resolves operation ids for $count and overloaded functions paths #382, #383
- Updates README #13, #253, #40
- Fixes casing in default propertyName for `innerError` in the `ErrorMainSchema`
</PackageReleaseNotes>
<AssemblyName>Microsoft.OpenApi.OData.Reader</AssemblyName>
<AssemblyOriginatorKeyFile>..\..\tool\Microsoft.OpenApi.OData.snk</AssemblyOriginatorKeyFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@
"$ref": "#/definitions/DefaultNs.ODataErrors.ErrorDetails"
}
},
"innererror": {
"innerError": {
"$ref": "#/definitions/DefaultNs.ODataErrors.InnerError"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ definitions:
type: array
items:
$ref: '#/definitions/DefaultNs.ODataErrors.ErrorDetails'
innererror:
innerError:
$ref: '#/definitions/DefaultNs.ODataErrors.InnerError'
DefaultNs.ODataErrors.ErrorDetails:
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@
"$ref": "#/components/schemas/DefaultNs.ODataErrors.ErrorDetails"
}
},
"innererror": {
"innerError": {
"$ref": "#/components/schemas/DefaultNs.ODataErrors.InnerError"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ components:
type: array
items:
$ref: '#/components/schemas/DefaultNs.ODataErrors.ErrorDetails'
innererror:
innerError:
$ref: '#/components/schemas/DefaultNs.ODataErrors.InnerError'
DefaultNs.ODataErrors.ErrorDetails:
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"$ref": "#/definitions/ODataErrors.ErrorDetails"
}
},
"innererror": {
"innerError": {
"$ref": "#/definitions/ODataErrors.InnerError"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ definitions:
type: array
items:
$ref: '#/definitions/ODataErrors.ErrorDetails'
innererror:
innerError:
$ref: '#/definitions/ODataErrors.InnerError'
ODataErrors.ErrorDetails:
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"$ref": "#/components/schemas/ODataErrors.ErrorDetails"
}
},
"innererror": {
"innerError": {
"$ref": "#/components/schemas/ODataErrors.InnerError"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ components:
type: array
items:
$ref: '#/components/schemas/ODataErrors.ErrorDetails'
innererror:
innerError:
$ref: '#/components/schemas/ODataErrors.InnerError'
ODataErrors.ErrorDetails:
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5782,7 +5782,7 @@
"$ref": "#/definitions/Default.ODataErrors.ErrorDetails"
}
},
"innererror": {
"innerError": {
"$ref": "#/definitions/Default.ODataErrors.InnerError"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4207,7 +4207,7 @@ definitions:
type: array
items:
$ref: '#/definitions/Default.ODataErrors.ErrorDetails'
innererror:
innerError:
$ref: '#/definitions/Default.ODataErrors.InnerError'
Default.ODataErrors.ErrorDetails:
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6517,7 +6517,7 @@
"$ref": "#/components/schemas/Default.ODataErrors.ErrorDetails"
}
},
"innererror": {
"innerError": {
"$ref": "#/components/schemas/Default.ODataErrors.InnerError"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4696,7 +4696,7 @@ components:
type: array
items:
$ref: '#/components/schemas/Default.ODataErrors.ErrorDetails'
innererror:
innerError:
$ref: '#/components/schemas/Default.ODataErrors.InnerError'
Default.ODataErrors.ErrorDetails:
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28151,7 +28151,7 @@
"$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ErrorDetails"
}
},
"innererror": {
"innerError": {
"$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.InnerError"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19776,7 +19776,7 @@ definitions:
type: array
items:
$ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ErrorDetails'
innererror:
innerError:
$ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.InnerError'
Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ErrorDetails:
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31542,7 +31542,7 @@
"$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ErrorDetails"
}
},
"innererror": {
"innerError": {
"$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.InnerError"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21963,7 +21963,7 @@ components:
type: array
items:
$ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ErrorDetails'
innererror:
innerError:
$ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.InnerError'
Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ErrorDetails:
required:
Expand Down

0 comments on commit 9bc5d29

Please sign in to comment.