Error importing openapi spec
Hello,
I am trying out the add my first api tutorial but I am running into issues when i choose the openapi option
I am getting the following error when i try to import openapi spec to create api proxy. Can someone help me out please. I have searched the portal but i cant find any solution.
Error using OpenAPI: JS-YAML: end of the stream or a document separator is expected at line 7, column 19: <head prefix="og: http://ogp.me/ns# fb: http://o ... ^
@Stephen Tom How are you trying to import the OpenAPI spec? Can you share the url if it is public?
Here is the URL -
https://github.com/ozave/passle-swagger/blob/master/swagger.yaml
Hi Stephen,
Can you also clarify which tutorial you are stepping through? Hopefully, we can help you resolve the issue!
Liz
Hi Liz,
I am stepping through the "Create an API proxy from an OpenAPI specification. I provide a github URL foras the openapi spec yaml file
Hi Stephen,
Thanks for the details!
I think I see the issue. Can you try using the RAW version of the spec:
https://raw.githubusercontent.com/ozave/passle-swagger/master/swagger.yaml
Let us know if it works!!
Thanks,
Liz