Skip to content

Instantly share code, notes, and snippets.

View fabiohecht's full-sized avatar

Fabio Hecht fabiohecht

View GitHub Profile
# autocomplete in json request body...
### works well without variables
POST https://petstore.swagger.io/api/v2/pet
Content-Type: application/json
{
"name": "Rufus"
}
{
"test": {
"var_petstore_swagger_io": "petstore.swagger.io",
"var_api": "api",
"var_slash_api_slash_v2": "/api/v2",
"var_api_slash_v2": "api/v2"
}
}
swagger: '2.0'
info:
version: 1.0.6
title: Swagger Petstore
host: petstore.swagger.io
basePath: "/api/v2"
schemes:
- https
- http
paths: