Skip to content

How to use OpenApiSpecification yaml #124

Closed
@ZephyrusMB

Description

Hello,
How is it possible to use your library with an OpenAPI 3.0 Specification yaml file?
With the following code

*** Settings ***
Library  REST  url=http://localhost:8080  spec=petstore_openapi.yaml

*** Variables ***
&{dict}    type=1  #not used
*** Test Cases ***
test
    REST.Get     /api/v3/openapi.json

I get the error

test                                                                  | FAIL |
'request':
    - 'path':
        - "'type'"

How is it possible to use correctly the endpoint in the yaml and to pass parameters?

I'm using https://petstore3.swagger.io/ and the yaml https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml

Thank you

image

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions