Hi, I get an error message when I try to impot a .raml file in "file-->new-->funcional test"
The error says: "could not import a definition from the specified file"
Here the .raml I'm using:
#%RAML 0.8
---
title: Static Content Services
version: 1.0
baseUri: http://localhost:8088/extranet-ssff/rest/api/static-contents
mediaType: application/json
/:
post:
description: Save Static Content
queryParameters:
updateDraftContent:
type: boolean
required: false
body:
application/json:
responses:
201:
body:
application/json:
/{id}:
get:
responses:
200:
body:
application/json:
delete:
responses:
200:
body:
application/json:
put:
description: Updates Static Content
queryParameters:
updateDraftContent:
type: boolean
required: false
body:
application/json:
responses:
200:
body:
application/json:
/options:
get:
responses:
200:
body:
application/json:
/disclaimer:
get:
responses:
200:
body:
application/json:
/welcome:
get:
responses:
200:
body:
application/json:
Ok, the solution (thanks to Matti) is:
- So that the plugins button works properly, you have to launch ready-api by right-click-->"run as administrator"
- When RAML plugin is installed properly, then you can import .raml files but not from "file --> new --> funcional test" it doesnt work, you have to go through file --> new --> project and then on the left pick "Description file" and on the right "RAML".
that way it works.