Hi!
I am trying to use ABAO for API test automation but I can’t make it work, I am following the official documentation from:
Versions:
>$ node --version
v15.5.1
>$
>$ abao --version
0.5.0
RAML
#%RAML 0.8
title: Fruits API
version: v1
baseUri: http://localhost:8080
/fruits:
get:
description: Get a list of fruits
responses:
200:
body:
application/json:
schema: |
[
description: 'string',
fruit: 'string'
]
example: |
{"description":"Winter fruit","name":"Apple"}
This is the output I get from the API to test:
>$ curl localhost:8080/fruits
[{"description":"Winter fruit","name":"Apple"},{"description":"Tropical fruit","name":"Pineapple"}]>
Please your help
Happy new year!