Skip to content

Use OpenAPI-compatible schema for unsigned 32-bit ASN fields#59

Open
susaura-oci wants to merge 1 commit into
aws:mainfrom
susaura-oci:openapi-uint32-asn-fix
Open

Use OpenAPI-compatible schema for unsigned 32-bit ASN fields#59
susaura-oci wants to merge 1 commit into
aws:mainfrom
susaura-oci:openapi-uint32-asn-fix

Conversation

@susaura-oci

Copy link
Copy Markdown

Summary

Replaces non-standard type: uint32 schema declarations with OpenAPI-compatible integer schemas for ASN fields.

Changes

  • Updated ASNRange.start and ASNRange.stop in connection.yaml
  • Updated ProviderBgpConfig.asn in feature.yaml
  • Represented unsigned 32-bit values as:
    • type: integer
    • format: int64
    • minimum: 0
    • maximum: 4294967295

Rationale

OpenAPI 3.0 does not define uint32 as a valid primitive type. Using integer with int64 format and explicit bounds preserves the intended unsigned 32-bit range while remaining compatible with OpenAPI tooling.

Validation

  • Confirmed no remaining uint32 references.
  • Confirmed all 19 YAML files parse successfully.

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.

1 participant