Skip to content

add ability to work with age #14

add ability to work with age

add ability to work with age #14

Triggered via pull request August 27, 2023 04:56
Status Success
Total duration 1m 24s
Artifacts

spectral.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

34 warnings and 12 notices
oas3-https-only: spec/petStore.json#L17
My API supports HTTPS only.; "http://localhost:3000/v1" must match the pattern "^https://"
tracking-id-header-requirement: spec/petStore.json#L115
All responses must include a 'TrackingID' header.
oas3-get-collection-max-parameter-link-header-required-likely: spec/petStore.json#L60
Pagination is designed using a 'max' query parameter and 'Link' headers per RFC 5988.; When returning a paginated collection, include a "Link" header in the response
oas3-error-message: spec/petStore.json#L78
Error representations include a useful human-readable message.
oas3-error-response-identifier: spec/petStore.json#L78
Error representations include an identifier to help with troubleshooting.
oas3-error-response-identifier: spec/petStore.json#L115
Error representations include an identifier to help with troubleshooting.
tracking-id-header-requirement: spec/petStore.json#L78
All responses must include a 'TrackingID' header.
oas3-get-collection-max-parameter-link-header-required-possible: spec/petStore.json#L60
Pagination is designed using a 'max' query parameter and 'Link' headers per RFC 5988.; When returning a paginated collection, include a "Link" header in the response
oas3-error-response-identifier: spec/petStore.json#L197
Error representations include an identifier to help with troubleshooting.
tracking-id-header-requirement: spec/petStore.json#L179
All responses must include a 'TrackingID' header.
post-header-location: spec/petStore.json#L181
POST operations that create resources should include a Location header.; "headers.Location" property must be truthy
oas3-error-message: spec/petStore.json#L115
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L322
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L322
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L359
All responses must include a 'TrackingID' header.
tracking-id-header-requirement: spec/petStore.json#L299
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L197
Error representations include a useful human-readable message.
oas3-error-response-identifier: spec/petStore.json#L359
Error representations include an identifier to help with troubleshooting.
oas3-error-message: spec/petStore.json#L359
Error representations include a useful human-readable message.
oas3-error-message: spec/petStore.json#L234
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L434
All responses must include a 'TrackingID' header.
oas3-error-response-identifier: spec/petStore.json#L322
Error representations include an identifier to help with troubleshooting.
put-200-204-success: spec/petStore.json#L406
PUT operations return either '200 OK' with full representation or '204 No Content'.
tracking-id-header-requirement: spec/petStore.json#L197
All responses must include a 'TrackingID' header.
tracking-id-header-requirement: spec/petStore.json#L494
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L457
Error representations include a useful human-readable message.
oas3-error-response-identifier: spec/petStore.json#L457
Error representations include an identifier to help with troubleshooting.
oas3-error-response-identifier: spec/petStore.json#L494
Error representations include an identifier to help with troubleshooting.
tracking-id-header-requirement: spec/petStore.json#L457
All responses must include a 'TrackingID' header.
tracking-id-header-requirement: spec/petStore.json#L234
All responses must include a 'TrackingID' header.
oas3-error-response-identifier: spec/petStore.json#L234
Error representations include an identifier to help with troubleshooting.
oas3-error-message: spec/petStore.json#L494
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L60
All responses must include a 'TrackingID' header.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
no-etag-cache-control-header-required: spec/petStore.json#L62
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L80
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L117
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L181
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L236
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L199
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L324
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L301
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L361
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L436
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L496
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy
no-etag-cache-control-header-required: spec/petStore.json#L459
Where caching is not appropriate, operations must include a Cache-Control header (e.g. max-age=0, no-cache, no-store, must-revalidate) and must not include an ETag header.; "headers.Cache-Control" property must be truthy