Skip to content

Add new route

Add new route #33

Triggered via pull request September 8, 2023 19:52
@dtolbdtolb
synchronize #11
add-new-route
Status Success
Total duration 1m 27s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

spectral.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

68 warnings and 16 notices
oas3-get-collection-max-parameter-link-header-required-possible: spec/petStore.json#L22
Pagination is designed using a 'max' query parameter and 'Link' headers per RFC 5988.; When supporting offset-based pagination, operations include a "offset" query parameter
oas3-get-collection-max-parameter-link-header-required-likely: spec/petStore.json#L27
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
tracking-id-header-requirement: spec/petStore.json#L27
All responses must include a 'TrackingID' header.
oas3-https-only: spec/petStore.json#L17
My API supports HTTPS only.; "http://pet-store-kong-3abae03b4c44.herokuapp.com/v1" must match the pattern "^https://"
oas3-error-response-identifier: spec/petStore.json#L37
Error representations include an identifier to help with troubleshooting.
oas3-get-collection-max-parameter-link-header-required-likely: spec/petStore.json#L22
Pagination is designed using a 'max' query parameter and 'Link' headers per RFC 5988.; When returning a paginated collection, include a "max" query parameter
oas3-get-collection-max-parameter-link-header-required-possible: spec/petStore.json#L22
Pagination is designed using a 'max' query parameter and 'Link' headers per RFC 5988.; When returning a paginated collection, include a "max" query parameter
tracking-id-header-requirement: spec/petStore.json#L37
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L66
Error representations include a useful human-readable message.
post-header-location: spec/petStore.json#L124
POST operations that create resources should include a Location header.; "headers.Location" property must be truthy
tracking-id-header-requirement: spec/petStore.json#L139
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L37
Error representations include a useful human-readable message.
oas3-get-collection-max-parameter-link-header-required-possible: spec/petStore.json#L27
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
tracking-id-header-requirement: spec/petStore.json#L66
All responses must include a 'TrackingID' header.
tracking-id-header-requirement: spec/petStore.json#L122
All responses must include a 'TrackingID' header.
tracking-id-header-requirement: spec/petStore.json#L522
All responses must include a 'TrackingID' header.
oas3-error-response-identifier: spec/petStore.json#L522
Error representations include an identifier to help with troubleshooting.
oas3-error-response-identifier: spec/petStore.json#L485
Error representations include an identifier to help with troubleshooting.
oas3-error-response-identifier: spec/petStore.json#L610
Error representations include an identifier to help with troubleshooting.
tracking-id-header-requirement: spec/petStore.json#L722
All responses must include a 'TrackingID' header.
tracking-id-header-requirement: spec/petStore.json#L485
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L610
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L587
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L139
Error representations include a useful human-readable message.
oas3-error-response-identifier: spec/petStore.json#L240
Error representations include an identifier to help with troubleshooting.
tracking-id-header-requirement: spec/petStore.json#L168
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L240
Error representations include a useful human-readable message.
oas3-error-response-identifier: spec/petStore.json#L647
Error representations include an identifier to help with troubleshooting.
oas3-error-response-identifier: spec/petStore.json#L66
Error representations include an identifier to help with troubleshooting.
tracking-id-header-requirement: spec/petStore.json#L225
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L522
Error representations include a useful human-readable message.
oas3-error-response-identifier: spec/petStore.json#L168
Error representations include an identifier to help with troubleshooting.
tracking-id-header-requirement: spec/petStore.json#L348
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L269
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L269
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L168
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L240
All responses must include a 'TrackingID' header.
oas3-error-response-identifier: spec/petStore.json#L269
Error representations include an identifier to help with troubleshooting.
oas3-error-message: spec/petStore.json#L366
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L366
All responses must include a 'TrackingID' header.
tracking-id-header-requirement: spec/petStore.json#L403
All responses must include a 'TrackingID' header.
oas3-error-response-identifier: spec/petStore.json#L366
Error representations include an identifier to help with troubleshooting.
oas3-get-collection-max-parameter-link-header-required-likely: spec/petStore.json#L348
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
tracking-id-header-requirement: spec/petStore.json#L610
All responses must include a 'TrackingID' header.
oas3-get-collection-max-parameter-link-header-required-possible: spec/petStore.json#L348
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#L403
Error representations include an identifier to help with troubleshooting.
tracking-id-header-requirement: spec/petStore.json#L745
All responses must include a 'TrackingID' header.
post-header-location: spec/petStore.json#L469
POST operations that create resources should include a Location header.; "headers.Location" property must be truthy
put-200-204-success: spec/petStore.json#L694
PUT operations return either '200 OK' with full representation or '204 No Content'.
tracking-id-header-requirement: spec/petStore.json#L467
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L485
Error representations include a useful human-readable message.
oas3-error-response-identifier: spec/petStore.json#L745
Error representations include an identifier to help with troubleshooting.
oas3-error-response-identifier: spec/petStore.json#L868
Error representations include an identifier to help with troubleshooting.
oas3-error-response-identifier: spec/petStore.json#L782
Error representations include an identifier to help with troubleshooting.
tracking-id-header-requirement: spec/petStore.json#L845
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L782
Error representations include a useful human-readable message.
oas3-error-message: spec/petStore.json#L745
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L782
All responses must include a 'TrackingID' header.
oas3-error-message: spec/petStore.json#L905
Error representations include a useful human-readable message.
oas3-error-message: spec/petStore.json#L868
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L647
All responses must include a 'TrackingID' header.
tracking-id-header-requirement: spec/petStore.json#L905
All responses must include a 'TrackingID' header.
oas3-error-response-identifier: spec/petStore.json#L905
Error representations include an identifier to help with troubleshooting.
oas3-error-message: spec/petStore.json#L403
Error representations include a useful human-readable message.
tracking-id-header-requirement: spec/petStore.json#L868
All responses must include a 'TrackingID' header.
oas3-error-response-identifier: spec/petStore.json#L139
Error representations include an identifier to help with troubleshooting.
oas3-error-message: spec/petStore.json#L647
Error representations include a useful human-readable message.
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-***/
no-etag-cache-control-header-required: spec/petStore.json#L124
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#L487
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#L469
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#L649
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#L589
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#L368
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#L405
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#L747
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#L612
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#L524
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#L350
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#L847
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#L784
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#L907
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#L870
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#L724
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