Easy-mock uses the official website to suggest why the Internal Server Error, should be displayed according to the api-docs of the private network swagger.

I glued the local json file to the interface of one project according to the official website, and then another project used this interface as the url of swagger doc api
but reported an error

.

Intranet Swagger documents

if the Swagger document can only be accessed through the intranet, then the extranet Easy Mock will not be able to create a project for it.

solution

not applicable to OAS 1.2

copy the JSON data of the document interface, take Petstore as an example
create a new interface in Easy Mock, paste the interface data you just copied in the data editor (which may be a bit large) and finish creating
copy the URL
of the interface you just created. Create a new project, Swagger Docs API text box and fill in the URL
you just copied. Click create

after filling in other contents.

after I imported the json file, I formatted the file, which caused the file to grow. It should be that easy-mock limits the size of the content. If the formatting is not performed, it is normal

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2ec45-33c36.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2ec45-33c36.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?