Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes casing for innerError property in MainError #393

Merged
merged 2 commits into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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