Badgerati / Pode

Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
https://badgerati.github.io/Pode
MIT License
845 stars 92 forks source link

Add `Rename-PodeOADefinitionTag` Function #1339

Closed mdaneri closed 3 months ago

mdaneri commented 3 months ago

Description of the Change: This pull request introduces a new function, Rename-PodeOADefinitionTagName, which allows renaming an existing OpenAPI definition tag in Pode. This enhancement simplifies the management of OpenAPI definition tags and ensures a more streamlined configuration process.

Key Changes:

Examples: Renaming a specific OpenAPI definition tag:

Rename-PodeOADefinitionTag -Tag 'v.3' -NewTag 'v.3.0.3'

Renaming the default OpenAPI definition tag:

Rename-PodeOADefinitionTag -NewTag 'NewDefault'

Notes:

Pester Tests: Included Pester tests to validate the functionality:

Documentation: For detailed usage and examples, refer to the documentation file included in the pull request.