feat: add CLI option for schema-only generation#1228
Merged
sserrata merged 3 commits intoPaloAltoNetworks:mainfrom Dec 19, 2025
Merged
Conversation
|
Visit the preview URL for this PR (updated for commit 3b976e7): https://docusaurus-openapi-36b86--pr1228-w0mzayhy.web.app (expires Sun, 18 Jan 2026 19:35:24 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: bf293780ee827f578864d92193b8c2866acd459f |
Member
Author
|
Test results: Generate schemas for single versionGenerate schemas for multiple versions |
- Add --schemas-only option to clean-api-docs command - Add --schemas-only option to clean-api-docs:version command - When --schemas-only is used, only the schemas/ directory is cleaned - API, info, tag docs and sidebar files are left untouched - Update documentation in all README files
013a591 to
ae2af54
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Alternative implementation to #1203. Adds CLI option for generating only schemas to the specified output directory.
Motivation and Context
In support of use cases where users only need/want the schemas to be generated without having to modify the plugin config for the given API.
How Has This Been Tested?
TBD
Types of changes