-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added script sample to the api gateway page
- Loading branch information
1 parent
c62a652
commit 3b5bcec
Showing
3 changed files
with
136 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Feature: Customers | ||
Scenario: List customesr | ||
When GET /List | ||
And request-header x-security (string) | ||
Then status 200 | ||
And response-body (number*) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
openapi: "3.0.1" | ||
info: | ||
title: "Customers" | ||
version: "1" | ||
paths: | ||
/List: | ||
get: | ||
summary: "List customesr" | ||
parameters: | ||
- name: "x-security" | ||
in: "header" | ||
required: true | ||
schema: | ||
type: "string" | ||
responses: | ||
"200": | ||
description: "List customesr" | ||
content: | ||
text/plain: | ||
schema: | ||
type: "array" | ||
items: | ||
type: "number" |