-
-
Save hpatoio/1141f4cf721a502bdb5183f06fcd4b8b to your computer and use it in GitHub Desktop.
.spectral
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#CONFIGURATION FILE FOR SPECTRAL SWAGGER/OPEANAPI FILE LINTER | |
extends: spectral:oas | |
functions: [enum-uppercase] | |
rules: | |
enum-uppercase: | |
message: "{{error}}" | |
given: "$.paths.*.parameters.*.schema.enum" | |
then: | |
function: "enum-uppercase" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment