Skip to content

Commit

Permalink
Updated to ensure we utilise the oas3 spectral ruleset to capture sec…
Browse files Browse the repository at this point in the history
…urityScheme discrepencies and others
  • Loading branch information
andylockran committed Sep 30, 2023
1 parent ea20bff commit 65ae9be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .spectral.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
extends:
- spectral-aws-apigateway-ruleset
- "spectral:oas"
3 changes: 3 additions & 0 deletions aws_important_notes.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
functions:
- draft4
# These rules are a codified representation of https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-known-issues.html
extends: spectral:oas
formats:
- "oas3_0"
rules:
aws-openapi-version:
description: "OpenAPI version must be 3.0.1. This is the version set when the API is exported from the REST interface."
Expand Down
1 change: 0 additions & 1 deletion examples/.spectral.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
extends:
- spectral:oas
- spectral-aws-apigateway-ruleset

0 comments on commit 65ae9be

Please sign in to comment.