You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
However, the resulting RAML has a number of errors, one of these is that any Date type attributes have the error from the title. "Property 'format' not supported in RAML 1.0 shape node"
If I import the OAS into Anypoint Design Centre, then publish to exchange, then export as RAML I get the following instead which doesn't give errors. I guess this is how the conversion should look.
properties:
dateOfBirth:
description: Date of birth
example:
strict: false
value: 1977-12-27
type: date-only
required: false
My expectation is that the RAML be generated without errors.
Thanks
Ben
The text was updated successfully, but these errors were encountered:
I have been using this API to convert an API spec from OAS 2.0 to RAML 1.0 like so.
However, the resulting RAML has a number of errors, one of these is that any Date type attributes have the error from the title. "Property 'format' not supported in RAML 1.0 shape node"
e.g. OAS 2.0
Results in RAML 1.0
My OAS 2.0 is automatically generated and checking the docs it looks to be perfectly valid.
https://swagger.io/specification/#dataTypes
If I import the OAS into Anypoint Design Centre, then publish to exchange, then export as RAML I get the following instead which doesn't give errors. I guess this is how the conversion should look.
My expectation is that the RAML be generated without errors.
Thanks
Ben
The text was updated successfully, but these errors were encountered: