Skip to content

[OpenAPI] "format" and "pattern" are different. @format decorator currently only map to "pattern"  #153

@allenjzhang

Description

@allenjzhang

OpenAPI "format" contains open value, "pattern" is for regEx. "format":"UUID" ARE widely used in our rest spec.

One choice is to add @pattern and repoint @Format to "format". Thoughts?


https://swagger.io/docs/specification/data-models/data-types/

Metadata

Metadata

Assignees

Labels

design:neededA design request has been raised that needs a proposal

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions