Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update actions/upload-artifact digest to 65c4c4a #1312

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build(deps): update actions/upload-artifact digest to 65c4c4a
renovate[bot] authored Jan 10, 2025
commit 1507da67a378b490fa0a56f45baa41822efeb9d4
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ jobs:
files: |
**/test-results/**/*.xml
- name: Archive test report
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
# Archive test reports for introspection even if the build failed. They are most useful in this situation.
if: always()
with:

Unchanged files with check annotations Beta

# into multiple OpenAPI files.
openapi: "3.0.3"
info:

Check warning on line 11 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

info-contact

Info object must have "contact" object.
title: "model-server public API"
description: "modelix public API"
version: "1.0.0"
servers:
- url: '/'
description: model-server
paths:

Check warning on line 18 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

should-limit-number-of-resource-types

More than 8 resource types found
/headers:
get:

Check warning on line 20 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
operationId: getHeaders
tags:
- v1

Check warning on line 23 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
responses:
"200":
$ref: '#/components/responses/200'
default:
$ref: '#/components/responses/GeneralError'
/counter/{key}:
post:

Check warning on line 30 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-operationId

Operation must have "operationId".

Check warning on line 30 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v1

Check warning on line 32 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
parameters:
- name: key
in: "path"
default:
$ref: '#/components/responses/GeneralError'
/get/{key}:
get:

Check warning on line 49 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.

Check warning on line 49 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-operationId

Operation must have "operationId".
tags:
- v1

Check warning on line 51 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
parameters:
- name: key
in: "path"
$ref: '#/components/responses/200'
default:
$ref: '#/components/responses/GeneralError'
/getAll:

Check warning on line 69 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

must-use-lowercase-with-hypens-for-path-segements

Path segments have to be lowercase separate words with hyphens
put:

Check warning on line 70 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-operationId

Operation must have "operationId".

Check warning on line 70 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v1

Check warning on line 72 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
responses:
"403":
$ref: '#/components/responses/403'
$ref: '#/components/responses/200json'
default:
$ref: '#/components/responses/GeneralError'
/getEmail:

Check warning on line 82 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

must-use-lowercase-with-hypens-for-path-segements

Path segments have to be lowercase separate words with hyphens
get:

Check warning on line 83 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-operationId

Operation must have "operationId".

Check warning on line 83 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v1

Check warning on line 85 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
responses:
"200":
$ref: '#/components/responses/200'
default:
$ref: '#/components/responses/GeneralError'
/getRecursively/{key}:

Check warning on line 91 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

must-use-lowercase-with-hypens-for-path-segements

Path segments have to be lowercase separate words with hyphens
get:

Check warning on line 92 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-operationId

Operation must have "operationId".

Check warning on line 92 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v1

Check warning on line 94 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
parameters:
- name: key
in: "path"
default:
$ref: '#/components/responses/GeneralError'
/poll/{key}:
get:

Check warning on line 107 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.

Check warning on line 107 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-operationId

Operation must have "operationId".
tags:
- v1

Check warning on line 109 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
parameters:
- name: key
in: "path"
required: true
schema:
type: string
- name: lastKnownValue

Check warning on line 116 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

must-use-snake-case-for-query-parameters

Query parameters must be snake_case
in: "query"
required: false
schema:
default:
$ref: '#/components/responses/GeneralError'
/put/{key}:
put:

Check warning on line 133 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-operationId

Operation must have "operationId".

Check warning on line 133 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v1

Check warning on line 135 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
parameters:
- name: key
in: "path"
$ref: '#/components/responses/404'
default:
$ref: '#/components/responses/GeneralError'
/putAll:

Check warning on line 153 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

must-use-lowercase-with-hypens-for-path-segements

Path segments have to be lowercase separate words with hyphens
put:

Check warning on line 154 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-operationId

Operation must have "operationId".

Check warning on line 154 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v1

Check warning on line 156 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
responses:
"403":
$ref: '#/components/responses/403'
"200":
description: OK
content:
text/plain:

Check warning on line 173 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 174 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
"200json":
description: OK
content:
application/json:
schema:

Check warning on line 180 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
"400":

Check warning on line 183 in model-server-openapi/specifications/model-server-v1.yaml

GitHub Actions / Lint (pull_request)

oas3-unused-component

Potentially unused component has been detected.
description: "Bad Request"
content:
application/problem+json:
# into multiple OpenAPI files.
openapi: "3.0.3"
info:

Check warning on line 11 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

info-contact

Info object must have "contact" object.
title: "model-server public API"
description: "modelix public API"
version: "1.0.0"
- name: v2
paths:
/server-id:
get:

Check warning on line 23 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
summary: Returns the ID of the server
tags:
- ids
default:
$ref: '#/components/responses/GeneralError'
/user-id:
get:

Check warning on line 34 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- ids
operationId: getUserId
default:
$ref: '#/components/responses/GeneralError'
/generate-client-id:
post:

Check warning on line 44 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- ids
operationId: generateClientId
default:
$ref: '#/components/responses/GeneralError'
/repositories:
get:

Check warning on line 54 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: getRepositories
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/objects:
put:

Check warning on line 64 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: putRepositoryObjects
$ref: '#/components/responses/200json'
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/objects/getAll:

Check warning on line 83 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-lowercase-with-hypens-for-path-segements

Path segments have to be lowercase separate words with hyphens
post:

Check warning on line 84 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: postRepositoryObjectsGetAll
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/branches:
get:

Check warning on line 100 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: getRepositoryBranches
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/branches/{branch}:
delete:

Check warning on line 116 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: deleteRepositoryBranch
description: "Branch successfully deleted"
default:
$ref: '#/components/responses/GeneralError'
get:

Check warning on line 138 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: getRepositoryBranch
parameters:
- name: lastKnown

Check warning on line 143 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-snake-case-for-query-parameters

Query parameters must be snake_case
in: "query"
required: false
schema:
'application/x.modelix.branch+json;version=1':
schema:
$ref: "#/components/schemas/BranchV1"
'application/x-modelix-objects-v2':

Check warning on line 176 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 177 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
'application/x-modelix-objects':

Check warning on line 179 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 180 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
'application/json':
schema:
type: object
'text/plain':

Check warning on line 185 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 186 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
default:
$ref: '#/components/responses/GeneralError'
post:

Check warning on line 190 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: postRepositoryBranch
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/branches/{branch}/hash:
get:

Check warning on line 221 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: getRepositoryBranchHash
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/branches/{branch}/poll:
get:

Check warning on line 244 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: pollRepositoryBranch
parameters:
- name: lastKnown

Check warning on line 249 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-snake-case-for-query-parameters

Query parameters must be snake_case
in: "query"
required: false
schema:
$ref: '#/components/responses/versionDelta'
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/branches/{branch}/pollHash:

Check warning on line 273 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-lowercase-with-hypens-for-path-segements

Path segments have to be lowercase separate words with hyphens
get:

Check warning on line 274 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: pollRepositoryBranchHash
parameters:
- name: lastKnown

Check warning on line 279 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-snake-case-for-query-parameters

Query parameters must be snake_case
in: "query"
required: false
schema:
type: string
- name: legacyGlobalStorage

Check warning on line 284 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-snake-case-for-query-parameters

Query parameters must be snake_case
in: "query"
required: false
schema:
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/branches/{branch}/query:
post:

Check warning on line 309 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: postRepositoryBranchQuery
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/init:
post:

Check warning on line 332 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: initializeRepository
parameters:
- name: useRoleIds

Check warning on line 337 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-snake-case-for-query-parameters

Query parameters must be snake_case
in: "query"
required: false
schema:
type: boolean
default: true
- name: legacyGlobalStorage

Check warning on line 343 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-snake-case-for-query-parameters

Query parameters must be snake_case
in: "query"
required: false
schema:
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/delete:
post:

Check warning on line 364 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: deleteRepository
schema:
type: string
responses:
"204":

Check warning on line 375 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-use-well-understood-http-status-codes

204 is not a well-understood HTTP status code for POST
description: "Repository successfully deleted"
content:
text/plain:

Check warning on line 378 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 379 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
"404":
$ref: '#/components/responses/404'
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/versions/{versionHash}:
get:

Check warning on line 386 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: getRepositoryVersionHash
parameters:
- name: lastKnown

Check warning on line 391 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-snake-case-for-query-parameters

Query parameters must be snake_case
in: "query"
required: false
schema:
"200":
description: OK
content:
'*/*':

Check warning on line 412 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:
type: object
default:
$ref: '#/components/responses/GeneralError'
/repositories/{repository}/versions/{versionHash}/query:
post:

Check warning on line 418 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: postRepositoryVersionHashQuery
$ref: '#/components/responses/GeneralError'
/versions/{versionHash}:
get:

Check warning on line 442 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
tags:
- v2
operationId: getVersionHash
deprecated: true
parameters:
- name: lastKnown

Check warning on line 448 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-snake-case-for-query-parameters

Query parameters must be snake_case
in: "query"
required: false
schema:
"200":
description: OK
content:
text/plain:

Check warning on line 470 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 471 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
"204":

Check warning on line 473 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

oas3-unused-component

Potentially unused component has been detected.
description: OK
content:
text/plain:
description: OK
content:
application/json:
schema:

Check warning on line 483 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
"400":

Check warning on line 486 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

oas3-unused-component

Potentially unused component has been detected.
description: "Bad Request"
content:
application/problem+json:
application/problem+json:
schema:
$ref: 'problem.yaml#/Problem'
"ModelQlQueryExecutionFailed":

Check warning on line 510 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-use-well-understood-http-status-codes

422 is not a well-understood HTTP status code

Check warning on line 510 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-standard-http-status-codes

ModelQlQueryExecutionFailed is not a standardized response code
description: "A syntactically valid query failed to provide a result due to a mismatch of the query and the underlying data."
content:

Check warning on line 512 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-use-problem-json-for-errors

Error response must be application/problem+json
text/plain:

Check warning on line 513 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 514 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
description: "Contains a technical error description why query execution failed."
example: |-
"versionDelta":
description: OK
content:
'application/x-modelix-objects':

Check warning on line 530 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 531 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
'application/x-modelix-objects-v2':

Check warning on line 533 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 534 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
'application/json':
schema:
type: object
'text/plain':

Check warning on line 539 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 540 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
schemas:
VersionDelta:

Check warning on line 544 in model-server-openapi/specifications/model-server-v2.yaml

GitHub Actions / Lint (pull_request)

oas3-unused-component

Potentially unused component has been detected.
title: VersionDelta
type: object
properties:
openapi: "3.0.3"
info:

Check warning on line 12 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

info-contact

Info object must have "contact" object.
title: "model-server operative API"
description: "modelix operative API"
version: "1.0.0"
paths:
/metrics:
get:

Check warning on line 23 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
operationId: getMetrics
tags:
- metrics

Check warning on line 26 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
responses:

Check warning on line 27 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

must-specify-default-response

Operation does not contain a default response
"200":
$ref: '#/components/responses/MetricsResponse'
/health:
get:

Check warning on line 32 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
operationId: getHealth
tags:
- health

Check warning on line 35 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
responses:
"200":
$ref: '#/components/responses/Healthy'
$ref: '#/components/responses/GeneralError'
/about:
get:

Check warning on line 43 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
operationId: getAboutInformation
x-modelix-media-type-handlers:
- v1:
- 'application/x.modelix.about+json;version=1'
tags:
- about

Check warning on line 49 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
responses:

Check warning on line 50 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

must-specify-default-response

Operation does not contain a default response
"200":
description: Response with information about the model server.
content:
Healthy:
description: OK
content:
text/plain:

Check warning on line 63 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

should-prefer-standard-media-type-names

Custom media types should only be used for versioning
schema:

Check warning on line 64 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

must-always-return-json-objects-as-top-level-data-structures

Top-level data structure must be an object
type: string
enum: ["healthy"]

Check warning on line 66 in model-server-openapi/specifications/model-server-operative.yaml

GitHub Actions / Lint (pull_request)

should-declare-enum-values-using-upper-snake-case-format

Enum values should be in UPPER_SNAKE_CASE format
MetricsResponse:
description: OK