Schema of type string must specify maxLength, enum, or const
For support questions, please use the Stoplight Discord Community. This repository's issues are reserved for feature requests and bug reports. If you are unsure if you are experiencing a bug, our Discord is a great place to start.
Please delete this section, any any sections below that you don't use, before creating the issue.
Describe the bug Should pattern not be added to this, as the regex will state what the maxLength can be?
To Reproduce
- Given this OpenAPI/AsyncAPI document '...'
- Run this CLI command '....'
- See error
Expected behavior No error if a pattern is available.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (remove any that are not applicable):
- Library version: [e.g. 3.0.0]
- OS: [e.g. Windows 7]
- Browser: [e.g. Chrome 61]
Additional context Add any other context about the problem here.
hi - we're not sure what you are asking. can you please provide answers to the prompts above so that we can better help you? thanks!
We are closing due to inactivity. If you are still experiencing this problem, please open a new issue and provide necessary information to reproduce.
If this is related to owasp, you can open an issue here: https://github.com/stoplightio/spectral-owasp-ruleset