apple / apple/swift-openapi-generator

Figure out how to add more validations to string post 1.0 without API breaks

Open
#358 0 comments 0 reactions 0 assignees View on GitHub
area/openapi kind/enhancement status/needs-design
Dominant language
Swift
Stars
2k
Forks
182
Avg merge
13h 28m
Merged PRs (30d)
5

Description

Figure out how to add more validations to string post 1.0 without API breaks.

We're missing validations for, at least:
- maxLength
- minLength
- pattern

We need a plan here, even if it's not fully implemented for 1.0.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the string-validation generation path and its public API surface, then assess how maxLength, minLength, and pattern could be added without breaking existing APIs; done means a documented post-1.0 plan covering all three validations.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, swift
Domain
api, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.