-
-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix-2224: fix vendor extension being ignored (#2230)
* fix-2224: fix vendor extension being ignored * fix-2224: test vendor extension from config * fix-2224: expand vendor extension tests * style fix * better annotation detection * remove unused fixtures test * check if bundle exist before setting config * fix annotation check * Revert "better annotation detection" This reverts commit 048356f. * allow passing no controller for test
- Loading branch information
1 parent
32537bb
commit beb544e
Showing
7 changed files
with
66 additions
and
25 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,14 @@ | ||
nelmio_api_doc: | ||
documentation: | ||
info: | ||
title: 'Test API' | ||
description: 'Test API description' | ||
x-vendor: | ||
test: 'Test vendor extension' | ||
x-build: '#SomeCommitHash' | ||
components: | ||
schemas: | ||
Test: | ||
type: string | ||
x-vendor: | ||
test: 'Test vendor extension inside schema' |
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,23 @@ | ||
{ | ||
"openapi": "3.0.0", | ||
"info": { | ||
"title": "Test API", | ||
"description": "Test API description", | ||
"version": "0.0.0", | ||
"x-build": "#SomeCommitHash", | ||
"x-vendor": { | ||
"test": "Test vendor extension" | ||
} | ||
}, | ||
"paths": {}, | ||
"components": { | ||
"schemas": { | ||
"Test": { | ||
"type": "string", | ||
"x-vendor": { | ||
"test": "Test vendor extension inside schema" | ||
} | ||
} | ||
} | ||
} | ||
} |
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