forked from Szer/GiraffeGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(closes Szer#10) Unignore spec validation
- Loading branch information
Showing
7 changed files
with
60 additions
and
12 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
24 changes: 23 additions & 1 deletion
24
tests/GiraffeGenerator.IntegrationTests/specs/specSimple.yaml
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,12 +1,34 @@ | ||
openapi: "3.0.0" | ||
info: | ||
title: Spec Simple API | ||
version: 1 | ||
paths: | ||
/: | ||
get: | ||
operationId: listVersionsv2 | ||
responses: | ||
'200': | ||
description: returns string | ||
content: | ||
application/json: | ||
schema: | ||
type: string | ||
/v2: | ||
get: | ||
operationId: getVersionDetailsv2 | ||
responses: | ||
'200': | ||
description: returns string | ||
content: | ||
application/json: | ||
schema: | ||
type: string | ||
post: | ||
operationId: postVersionDetailsv2 | ||
operationId: postVersionDetailsv2 | ||
responses: | ||
'200': | ||
description: returns string | ||
content: | ||
application/json: | ||
schema: | ||
type: string |
1 change: 1 addition & 0 deletions
1
tests/GiraffeGenerator.IntegrationTests/specs/specWithArguments.yaml
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,6 +1,7 @@ | ||
openapi: "3.0.0" | ||
info: | ||
title: Spec with arguments API | ||
version: 1 | ||
paths: | ||
/{dataset}/{version}/fields: | ||
get: | ||
|
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
16 changes: 16 additions & 0 deletions
16
tests/GiraffeGenerator.IntegrationTests/specs/specWithSchemas.yaml
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