open-traffic-generator / openapiart

OpenAPI artifact generator
MIT License
6 stars 4 forks source link

making changes for supporting oid format #459

Closed Vibaswan closed 7 months ago

Vibaswan commented 7 months ago

Support for OID pattern: Can be used with as format for normal properties as well as in x-field-pattern sample:

     oid:
       type: string
       format: oid
       x-field-uid: 9

     OidPattern:
      description: Test oid pattern
      type: object
      properties:
        oid:
          x-field-pattern:
            format: oid
            default: "0.1"
          x-field-uid: 1

Validation imposed: