Update .spectral.yml

Co-Authored-By: Jakub Rożek <jakub@rozek.tech>
This commit is contained in:
Andrzej
2019-11-14 15:53:49 +01:00
committed by GitHub
parent ee154e84c0
commit c9df0c584b

View File

@@ -80,7 +80,7 @@ rules:
type: "style" type: "style"
message: "Error response document MUST follow application/problem+json: {{error}}" message: "Error response document MUST follow application/problem+json: {{error}}"
then: then:
field: schema field: schema.example
function: schema function: schema
functionOptions: functionOptions:
schema: schema:
@@ -136,4 +136,4 @@ rules:
# severity: error # severity: error
# response-303-async-link-header: # response-303-async-link-header:
# description: A successful and finished async api request returns `303` response code and sends the target resource location in the `Link` header # description: A successful and finished async api request returns `303` response code and sends the target resource location in the `Link` header
# severity: hint # severity: hint