-
Notifications
You must be signed in to change notification settings - Fork 934
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spec fixtures to validate reflection analyser results
- Loading branch information
1 parent
d15547d
commit 65fde13
Showing
5 changed files
with
84 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: 'Basic single file Attributes API' | ||
version: 1.0.0 | ||
paths: | ||
'/products/{product_id}': | ||
get: | ||
tags: | ||
- Products | ||
operationId: ce0e618e1b2e89d5464e39a96cc178dd | ||
responses: | ||
'200': | ||
description: 'successful operation' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Product' | ||
'401': | ||
description: oops | ||
components: | ||
schemas: | ||
NameTrait: | ||
properties: | ||
name: | ||
description: 'The name.' | ||
type: object | ||
Product: | ||
title: Product | ||
description: Product | ||
allOf: | ||
- | ||
$ref: '#/components/schemas/NameTrait' | ||
- | ||
properties: | ||
id: | ||
description: 'The id.' | ||
format: int64 | ||
example: 1 |
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,38 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: 'Basic single file DocBlocks API' | ||
version: 1.0.0 | ||
paths: | ||
'/products/{product_id}': | ||
get: | ||
tags: | ||
- Products | ||
operationId: 430e769e8375f88711f6a2c5ad8b5dee | ||
responses: | ||
'200': | ||
description: 'successful operation' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Product' | ||
'401': | ||
description: oops | ||
components: | ||
schemas: | ||
NameTrait: | ||
properties: | ||
name: | ||
description: 'The name.' | ||
type: object | ||
Product: | ||
title: Product | ||
description: Product | ||
allOf: | ||
- | ||
$ref: '#/components/schemas/NameTrait' | ||
- | ||
properties: | ||
id: | ||
description: 'The id.' | ||
format: int64 | ||
example: 1 |