Swagger ile bir REST web API'sini belgeliyorum. Petstore örneğini indirdim.Swagger UI hatası: API Listeleme alınamadı
{
"apiVersion":"0.2",
"swaggerVersion":"1.0",
"basePath":"http://petstore.swagger.wordnik.com/api",
"apis":
[
{
"path":"/pet.{format}",
"description":"Operations about pets"
},
{
"path":"/user.{format}",
"description":"Operations about user"
}
]
}
Ama benim web sunucusuna orijinal dosyaları yükleme sonrasında, Swagger UI söylüyor:
Unable to fetch API Listing. Tried the following urls:
http://www.myserver.org/resources.json
http://www.myserver.org
http://www.myserver.org/resources.json
http://www.myserver.org/resources
bulmak değil Swagger neyin neden söyleyebilir O pet.json
ve user.json
başvuran resources.json
oluşur json dosyam?