Skip to content

feat: support const in example generation - #1260

Merged
sserrata merged 1 commit into
PaloAltoNetworks:mainfrom
markrreynolds:main
Dec 17, 2025
Merged

sserrata merged 1 commit into
PaloAltoNetworks:mainfrom
markrreynolds:main

Conversation

@markrreynolds

@markrreynolds markrreynolds commented Dec 8, 2025 •

Copy link
Copy Markdown
Contributor

Description

Support const during example generation

Continuation of: #1143

Motivation and Context

This helps produce better example code, which can be copy/pasted without manual modifications.

How Has This Been Tested?

Both tested locally against my schema, and a added unit test.

Screenshots (if appropriate)

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@markrreynolds

Copy link
Copy Markdown
Contributor Author

@sserrata Sorry for the notification. You had reviewed the previous PR #1143, where I missed the need to add const support in example generation.

@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 9888db4):

https://docusaurus-openapi-36b86--pr1260-cbp0qzfk.web.app

(expires Thu, 15 Jan 2026 22:16:09 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bf293780ee827f578864d92193b8c2866acd459f

@sserrata
sserrata merged commit 21222c0 into PaloAltoNetworks:main Dec 17, 2025

This branch was previously deployed

1 inactive deployment
default — 9888db4c Deployed Dec 8, 2025 by markrreynolds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants