Skip to content

Update multi-point-vpn API schema & remove README#29

Merged
abd-abhisek merged 7 commits into
mainfrom
hemantagogoi-infy-fixes
Jun 12, 2026
Merged

Update multi-point-vpn API schema & remove README#29
abd-abhisek merged 7 commits into
mainfrom
hemantagogoi-infy-fixes

Conversation

@hemantagogoi-infy

Copy link
Copy Markdown
Contributor

Remove placeholder README.MD and update multi-point-vpn.yaml: change schema references from Connection to Network, rename operationId getVPNConnect to getVpnConnection, add descriptive text for multiple schemas/properties (IpAddress, Ipv4Address, Ipv6Address, Connection/Network groups, SLA, routeProtocal, resourceGroupId, cloudGatewayIP, etc.), fix discriminator mapping format (mapping -> mapping with $ref entries), and add/clarify array and property descriptions. These changes improve schema clarity and correct reference/operation naming.

What type of PR is this?

Add one of the following kinds:

correction

What this PR does / why we need it:

cleanup before alpha release

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Please review it once

Changelog input

 release-note

Additional documentation

This section can be blank.

docs

Remove placeholder README.MD and update multi-point-vpn.yaml: change schema references from Connection to Network, rename operationId getVPNConnect to getVpnConnection, add descriptive text for multiple schemas/properties (IpAddress, Ipv4Address, Ipv6Address, Connection/Network groups, SLA, routeProtocal, resourceGroupId, cloudGatewayIP, etc.), fix discriminator mapping format (mapping -> mapping with $ref entries), and add/clarify array and property descriptions. These changes improve schema clarity and correct reference/operation naming.
@camara-validation

camara-validation Bot commented Jun 12, 2026

Copy link
Copy Markdown

CAMARA Validation — PASS

0 errors, 0 warnings, 0 hints | Profile: standard

View full results

Clean up formatting in multi-point-vpn.yaml: remove trailing whitespace, convert discriminator mapping entries to inline string refs, and change the sample serviceId from a number to a string ('111111'). These changes improve YAML consistency and ensure the sample matches the expected schema/type.
Update multi-point-vpn.yaml to quote resourceGroupId ('12121') so it is treated as a string/identifier instead of a numeric value.
Replace the abstract IpAddress properties with a oneOf referencing Ipv4Address and Ipv6Address and add a discriminator mapping. Convert Ipv4Address and Ipv6Address into self-contained object schemas (required addressType and address) with proper ipv4/ipv6 formats, removing the previous allOf inheritance to IpAddress.
Add description properties for the "address" fields in the Ipv4Address and Ipv6Address components in code/API_definitions/multi-point-vpn.yaml to document the expected IP formats (ipv4/ipv6).
Add a new Gherkin feature file for CAMARA MultiPoint VPN API tests (code/Test_definitions/multi-point-vpn.feature).
@abd-abhisek abd-abhisek merged commit 1a0177d into main Jun 12, 2026
3 checks passed
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