dheeraj12347 opened a new pull request, #13543: URL: https://github.com/apache/cloudstack/pull/13543
## Summary This PR adds support for exposing allowed parameter values through the API Discovery framework. ### Framework changes - Add `allowedValues` attribute to the `@Parameter` annotation - Extend `ApiParameterResponse` to expose allowed values - Update `ApiDiscoveryServiceImpl` to populate `allowedValues` ### API annotations Add `allowedValues` annotations to representative API parameters with fixed documented values. The annotations cover: - Snapshot APIs - Backup Schedule APIs - Firewall APIs - IP Forwarding APIs - Template APIs - ISO APIs - VPC Offering APIs ## Testing Successfully built using: ```bash mvn -pl api,plugins/api/discovery -am -DskipTests clean install ``` I also investigated runtime verification using the simulator. The simulator Docker image runs from an embedded source tree, so local source changes require rebuilding the simulator image before they are reflected in `listApis`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
