What will happen if I try to import OAS3.0 on dev portal

Hi,

I want to know if the portal will give invalid OpenAPI document error if I try to upload OAS3.0 which is not supported by Apigee Dev portal as of now. Or it will import it and will not render the spec.

Regards,

Santosh

Solved Solved
0 2 403
1 ACCEPTED SOLUTION

Hi,

It even does not import the spec and gives an error saying - Invalid OpenAPI document. This might be due to the fact that the version number mentioned in the spec is 3.0 and smartdoc module might be scanning the document to validate the mentioned version against the supported ones.

Regards,

Santosh

View solution in original post

2 REPLIES 2

Best answer is to try it and see what happens! My guess would be it imports, but renders it as if it were 2.0, and ignores any new elements from 3.0.

Hi,

It even does not import the spec and gives an error saying - Invalid OpenAPI document. This might be due to the fact that the version number mentioned in the spec is 3.0 and smartdoc module might be scanning the document to validate the mentioned version against the supported ones.

Regards,

Santosh