add fixture test

This commit is contained in:
Opender Singh
2020-04-27 18:08:44 +12:00
parent 751dd0f86a
commit 2a0dd17293
2 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
openapi: 3.0.1
info:
description: Description
version: 1.0.0
title: API
servers:
- url: 'https://api.insomnia.rest'
paths:
/path:
x-kong-plugin-oidc:
name: oidc
enabled: true
config:
key_names: [api_key, apikey]
key_in_body: false
hide_credentials: true
get:
description: 'test'

View File

@@ -0,0 +1,47 @@
{
"__export_date": "2020-04-27T06:07:10.686Z",
"__export_format": 4,
"__export_source": "insomnia.importers:v0.1.0",
"_type": "export",
"resources": [
{
"_id": "__WORKSPACE_ID__",
"_type": "workspace",
"description": "Description",
"name": "API 1.0.0",
"parentId": null
},
{
"_id": "__BASE_ENVIRONMENT_ID__",
"_type": "environment",
"data": {
"base_url": "{{ scheme }}://{{ host }}{{ base_path }}"
},
"name": "Base environment",
"parentId": "__WORKSPACE_ID__"
},
{
"_id": "env___BASE_ENVIRONMENT_ID___sub",
"_type": "environment",
"data": {
"base_path": "",
"host": "api.insomnia.rest",
"scheme": "https"
},
"name": "OpenAPI env",
"parentId": "__BASE_ENVIRONMENT_ID__"
},
{
"_id": "req___WORKSPACE_ID__2cade550",
"_type": "request",
"authentication": {},
"body": {},
"headers": [],
"method": "GET",
"name": "/path",
"parameters": [],
"parentId": "__WORKSPACE_ID__",
"url": "{{ base_url }}/path"
}
]
}