0

I want to use swagger that already deployed in the server. in most tutorials I saw that they used link from swagger header but I don't have it.

enter image description here

using link (http://95.216.161.15:30400/api-docs/) tab link will return this:

Error while importing: format not recognized


I saw this answer that says I can use swagger-ui-init.js for extracting JSON from in it.

Now I have this

enter image description here

when I importing It as OpenAPI it will return this:

Error while importing: format not recognized

what should I do to fix this issue?

sarem eskandary
  • 504
  • 4
  • 16

1 Answers1

3

You need just this part, without the trailing comma.

Helen
  • 87,344
  • 17
  • 243
  • 314