-
Notifications
You must be signed in to change notification settings - Fork 0
Single file swagger docs generation, #PG-4887 #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4f909a3
Added new command to generate annotations and spec in one command
lachiebol c596f41
unused import
lachiebol 3d5813b
PHPCBF fixes
lachiebol 1dc0390
Fix normalise response description and missing idSubtableRequired par…
lachiebol 68723cc
Fixed php stan non nullable coalesce
lachiebol d5a1991
remove unused file
lachiebol 1565069
Changelog
lachiebol 036ae33
removed internal api
lachiebol 0d704d7
Fixed invalid xml cases, just catching an error at the moment if inva…
lachiebol d0b90fe
removed example debug
lachiebol 19c376c
Added guard to handle missing content-type
lachiebol c5fb38d
Catching invalid XML errors when grabbing xml from response cache
lachiebol c5c0d12
tsv is returned as vnd.ms-excel
lachiebol 0e7ab22
Update CHANGELOG.md
lachiebol 7008df7
Fixed unescaped comments making invalid phpdoc and suppressed xml war…
lachiebol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,8 +1,9 @@ | ||
| ## Changelog | ||
|
|
||
|
|
||
| 5.0.1-b1 | ||
| - 16-02-2026 - Initial implementation of plugin and POC generating documentation from annotations | ||
| 5.0.1-b1 - 2026-02-16 | ||
| - Added class and function level docs | ||
| - Updated spec generation command to allow single swagger file generation | ||
|
|
||
| 5.0.0-b1 | ||
| - Initial implementation of plugin and POC generating documentation from annotations |
This file contains hidden or 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 hidden or 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 hidden or 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,79 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'RollUpReporting', | ||
| 'Login', | ||
| 'ActivityLog', | ||
| 'VisitTime', | ||
| 'CustomAlerts', | ||
| 'UserLanguage', | ||
| 'CorePluginsAdmin', | ||
| 'Referrers', | ||
| 'AdvertisingConversionExport', | ||
| 'VisitsSummary', | ||
| 'PrivacyManager', | ||
| 'CoreAdminHome', | ||
| 'MultiChannelConversionAttribution', | ||
| 'DBStats', | ||
| 'Funnels', | ||
| 'SitesManager', | ||
| 'UsersFlow', | ||
| 'DevicesDetection', | ||
| 'LanguagesManager', | ||
| 'Annotations', | ||
| 'MultiSites', | ||
| 'Transitions', | ||
| 'DevicePlugins', | ||
| 'Overlay', | ||
| 'AbTesting', | ||
| 'ScheduledReports', | ||
| 'UserId', | ||
| 'API', | ||
| 'SearchEngineKeywordsPerformance', | ||
| 'AIAgents', | ||
| 'Resolution', | ||
| 'VisitorInterest', | ||
| 'CustomVariables', | ||
| 'SEOWebVitals', | ||
| 'LogViewer', | ||
| 'TreemapVisualization', | ||
| 'Bandwidth', | ||
| 'BotTracking', | ||
| 'SEO', | ||
| 'GithubAnalytics', | ||
| 'MediaAnalytics', | ||
| 'ProfessionalServices', | ||
| 'LoginLdap', | ||
| 'Cohorts', | ||
| 'Contents', | ||
| 'CustomDimensions', | ||
| 'FormAnalytics', | ||
| 'Feedback', | ||
| 'VisitFrequency', | ||
| 'Provider', | ||
| 'CrashAnalytics', | ||
| 'Events', | ||
| 'SegmentEditor', | ||
| 'CustomTranslations', | ||
| 'HeatmapSessionRecording', | ||
| 'PagePerformance', | ||
| 'UserCountry', | ||
| 'TagManager', | ||
| 'MobileMessaging', | ||
| 'Goals', | ||
| 'OpenApiDocs', | ||
| 'LoginSaml', | ||
| 'CustomReports', | ||
| 'TwoFactorAuth', | ||
| 'Live', | ||
| 'Tour', | ||
| 'CustomJsTracker', | ||
| 'ImageGraph', | ||
| 'UsersManager', | ||
| // 'ConnectAccounts', Requires cloud? | ||
| 'Marketplace', | ||
| 'Insights', | ||
| 'MarketingCampaignsReporting', | ||
| 'Dashboard', | ||
| 'Actions', | ||
| ]; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lachiebol Is this something specific to ddev ? I don't see any such files.
I think below is the correct way to get all Plugins.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see below, you have added a list, can't we use above method and have a blockList ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer the allowlist - safer that we have to manually add new plugins.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Assuming we keep this as an internal tool only)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new list is only for plugins with an API.php file. I could go this route but I'll need to check how the existing commands handle plugins with no API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am okay with the current approach also 👍