Closed LasneF closed 7 months ago
Fixed in version v0.5.0
The following ruleset
rules:
openapi-v3-schema-properties-names-camel-case:
description: Ensuring that schema property names are camel case
message: All schema property names should be camel case
severity: warn
given: "$..properties"
then:
function: casing
functionOptions:
type: camel
Combined with the supplied specification in toto.txt
Now results in the following output.
given the spectral rules like this
openapi-v3-schema-properties-names-camel-case: description: Ensuring that schema property names are camel case. message: All schema property names should be camel case. severity: warn given: "$..properties" then: function: casing functionOptions: type: camel
when i launch it against my API is raises such error
toto.txt