We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Version used is 0.25.4
0.25.4
When converting a OData V2 containing properties with type="Edm.Time" the conversion is a success however properties with Edm.Time are converted to
type="Edm.Time"
Edm.Time
"Name": { "nullable": true },
The following is written to the console: 'Unknown type: Edm.Time'
'Unknown type: Edm.Time'
To replicate the following file from SAP can be used: 2022_FPS_02_OP_API_SALES_ORDER_SRV_0001.txt
Expected behavior is that the property is converted to:
"Name":{ "type": "string", "nullable": true, "example": "PT15H51M04S" }
As a test the correct OpenApi spec should match the one provided by SAP: 2022_FPS_02_OP_API_SALES_ORDER_SRV_0001.json
The text was updated successfully, but these errors were encountered:
@sosl-beep This is a bug in the JS-based implementation, whose support for OData V2 is incomplete.
You may want to use the XSLT-based implementation in https://github.com/oasis-tcs/odata-openapi/tree/main/tools, it produces the expected output.
Sorry, something went wrong.
Fixed with version 0.26.0
Hi @ralfhandl,
Again Awesome work! We really appreciate your effort on this.
Successfully merging a pull request may close this issue.
Hi,
Version used is
0.25.4
When converting a OData V2 containing properties with
type="Edm.Time"
the conversion is a success however properties withEdm.Time
are converted toThe following is written to the console:
'Unknown type: Edm.Time'
To replicate the following file from SAP can be used:
2022_FPS_02_OP_API_SALES_ORDER_SRV_0001.txt
Expected behavior is that the property is converted to:
As a test the correct OpenApi spec should match the one provided by SAP:
2022_FPS_02_OP_API_SALES_ORDER_SRV_0001.json
The text was updated successfully, but these errors were encountered: