Skip to content

Tags: apisyouwonthate/style-guide

Tags

v1.5.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: support healthcheck rfc draft 06

* Update MIME type of health checks to match latest draft

* Fix a typo: heath -> health

v1.4.0

feat: consistent error messages and descriptions

messages are shorter showing what is wrong, descriptions are longer explaining why.

v1.3.2

fix: match() error on petstore resolved

No longer getting this error with the more performant syntax avoiding the invalid .[ usage

v1.3.1

perf: avoid .[ and just use [

related to performance discovery in IBM/openapi-validator#508

v1.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: new rule to restrict media types in paths (#31)

* feat: add rule for no media types in resources

New rule to address: #24

* Added more media types to description

* Added more tests

* feat: add rule for no media types in resources

New rule to address: #24

* Added more media types to description

* Added more tests

* Update src/ruleset.ts

* Update src/ruleset.ts

reduce code duplication on regex

Co-authored-by: Phil Sturgeon <67381+philsturgeon@users.noreply.github.com>

* tests-added-oas2-tests

Added tests for OAS2 api definitions and removed old test

Co-authored-by: Phil Sturgeon <67381+philsturgeon@users.noreply.github.com>

v1.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: add rule for api must have a securitySchemes defined (#35)

v1.1.10

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: amend CommonJS output to be compatible with `require` (#36)

Add `module.exports = module.exports.default;` at the end of the CJS file.
Example:

```js
const ruleset = require('@apisyouwonthate/style-guide');
```

v1.1.9

fix: include esm bundle

v1.1.8

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: mark @stoplight/types as an internal pkg

v1.1.7

fix: switched builds to tsup