-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/yaml input definition (#105)
* Allow YAML specification files as input * Update README.md to specify YAML can be input * Unit tests CLI specification input files
- Loading branch information
1 parent
4627728
commit 06faa89
Showing
12 changed files
with
208 additions
and
83 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
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
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
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,8 @@ | ||
{ | ||
"info": { | ||
"title": "Hello World", | ||
"version": "1.0.0", | ||
"description": "A sample API" | ||
}, | ||
"apis": ["./**/*/routes.js"] | ||
} |
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,5 @@ | ||
info: | ||
title: Hello World | ||
version: 1.0.0 | ||
description: A sample API | ||
apis: [./**/*/routes.js] |
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,5 @@ | ||
info: | ||
title: !!js/undefined | ||
version: 1.0.0 | ||
description: A sample API | ||
apis: [./**/*/routes.js] |
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
"info":{ | ||
"title":"Hello World", | ||
"version":"1.0.0", | ||
"description":"A sample API" | ||
"info": { | ||
"title": "Hello World", | ||
"version": "1.0.0", | ||
"description": "A sample API" | ||
}, | ||
"host":"localhost:3000", | ||
"basePath":"/", | ||
"swagger":"2.0", | ||
"schemes":[], | ||
"consumes":[], | ||
"produces":[], | ||
"paths":{}, | ||
"definitions":{}, | ||
"responses":{}, | ||
"parameters":{}, | ||
"securityDefinitions":{}, | ||
"security":{}, | ||
"tags":[], | ||
"host": "localhost:3000", | ||
"basePath": "/", | ||
"swagger": "2.0", | ||
"schemes": [], | ||
"consumes": [], | ||
"produces": [], | ||
"paths": {}, | ||
"definitions": {}, | ||
"responses": {}, | ||
"parameters": {}, | ||
"securityDefinitions": {}, | ||
"security": {}, | ||
"tags": [], | ||
"externalDocs": {} | ||
} |
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,8 @@ | ||
{ | ||
"info": { | ||
title: "Hello World", | ||
"version": "1.0.0", | ||
"description": "A sample API" | ||
}, | ||
"apis": ["./**/*/routes.js"] | ||
} |
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,5 @@ | ||
info: | ||
!!!title: Hello World | ||
version: 1.0.0 | ||
description: A sample API | ||
apis: [./**/*/routes.js] |