Skip to content

Releases: apiaddicts/sonaropenapi-rules

v1.2.1

19 May 14:56
Compare
Choose a tag to compare

Added

- Adding new rules:

- OAR012 - ParameterNamingConvention
- OAR016 - NumericFormat
- OAR018 - ResourcesByVerb
- OAR039 - StandardResponseCodes
- OAR042 - BasePath
- OAR048 - AtMostOneBodyParameter
- OAR052 - UndefinedNumericFormat
- OAR053 - ResponseHeaders

v1.2.0

31 Jan 01:32
de6cfa6
Compare
Choose a tag to compare

Added

A rule:

- OAR113 - CustomField

Fixed

Improve test:

- OAR068 - PascalCaseNamingConvention
- OAR086 - DescriptionFormat
- OAR094 - UseExamples

v1.1.0

05 Sep 15:08
Compare
Choose a tag to compare

What's Changed

Added some rules:

- OAR060 - QueryParametersOptional
- OAR061 - GetMethod
- OAR062 - PostMethod
- OAR063 - PutMethod
- OAR064 - PatchMethod
- OAR065 - DeleteMethod
- OAR066 - SnakeCaseNamingConvention
- OAR067 - CamelCaseNamingConvention
- OAR068 - PascalCaseNamingConvention
- OAR069 - PathParamAndQuery
- OAR070 - BrokenAccessControl
- OAR071 - GetQueryParamsDefined
- OAR072 - NonOKModelResponse
- OAR073 - RateLimit
- OAR074 - NumericParameterIntegrity
- OAR075 - StringParameterIntegrity
- OAR076 - NumericFormat
- OAR077 - ParametersInQuerySnakeCase
- OAR078 - VerbsSecurity
- OAR079 - PathParameter404
- OAR080 - SecuritySchemas
- OAR081 - PasswordFormat
- OAR082 - BinaryOrByteFormat
- OAR083 - ForbiddenQueryParams
- OAR084 - ForbiddenQueryFormats
- OAR085 - OpenAPIVersion
- OAR086 - DescriptionFormat
- OAR087 - SummaryFormat
- OAR088 - RefParam
- OAR089 - RefRequestBody
- OAR090 - RefResponse
- OAR091 - ParamOnlyRef
- OAR092 - RequestBodyOnlyRef
- OAR093 - ResponseOnlyRef
- OAR094 - UseExamples
- OAR096 - ForbiddenResponse
- OAR097 - ShortBasePath
- OAR098 - LongBasePath
- OAR099 - ApiPrefixBasePath
- OAR100 - LastPartBasePath
- OAR101 - FirstPartBasePath
- OAR102 - SecondPartBasePath
- OAR103 - ResourcesByGetVerb
- OAR104 - ResourcesByPostVerb
- OAR105 - ResourcesByPutVerb
- OAR106 - ResourcesByPatchVerb
- OAR107 - ResourcesByDeleteVerb
- OAR108 - SchemaValidator
- OAR109 - ForbiddenInternalServerError
- OAR110 - LicenseInformation
- OAR111 - ContactInformation
- OAR112 - RuleTemplate

Support for OpenAPI 3.1

All the rules had been updated to be fully compatible with OpenAPI 3.1

Make your own rule

Now, it is possible to make your own custom rule by using OAR112 - RuleTemplate

New Contributors

v1.0.3

18 Nov 15:03
Compare
Choose a tag to compare