diff --git a/.spectral.yml b/.spectral.yml index b36d50d020e1f4e7550fb73436742db364d689e3..9a5473217f23d5bb54662ad631400c7a0d9143ee 100644 --- a/.spectral.yml +++ b/.spectral.yml @@ -7,11 +7,14 @@ rules: no-default-additionalProperties: hint string-maxlength: hint typed-enum: error - paths-status: warn response-with-json-object: error + + # Disabled, since we don't want a /status endpoint. + # See https://git.fitko.de/fit-connect/api/-/merge_requests/37 + paths-status: off paths-status-return-problem: off paths-status-problem-schema: off except: '#/info/version': - - use-semver \ No newline at end of file + - use-semver diff --git a/spec/endpoints/status.yml b/spec/endpoints/status.yml deleted file mode 100644 index d5a0576a3d7ab313a72add7b53ff9fbf4becf6a9..0000000000000000000000000000000000000000 --- a/spec/endpoints/status.yml +++ /dev/null @@ -1,15 +0,0 @@ -get: - operationId: get-status - summary: Rufe Servicestatus ab - description: Nützlich für Monitoring und Debugging - tags: - - Technical - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '../schemas/status.yml' - example: - status: "UP" diff --git a/spec/schemas/status.yml b/spec/schemas/status.yml deleted file mode 100644 index 5e967d4ed59b5313993cf5c465d07035e0482ba0..0000000000000000000000000000000000000000 --- a/spec/schemas/status.yml +++ /dev/null @@ -1,7 +0,0 @@ -title: Servicestatus -type: object -required: - - status -properties: - status: - type: string diff --git a/spec/zustelldienst.yml b/spec/zustelldienst.yml index ae183e91b61303b372330fa056432ba8edac5023..f611cf3f6dd1a18b9ad26b300850a7b5224e2738 100644 --- a/spec/zustelldienst.yml +++ b/spec/zustelldienst.yml @@ -36,9 +36,6 @@ paths: /info: $ref: './endpoints/info/get-info.yml' - /status: - $ref: './endpoints/status.yml' - components: securitySchemes: OAuth20: @@ -91,8 +88,6 @@ components: $ref: './schemas/list-of-application-ids.yml' StateTransition: $ref: './schemas/state-transition.yml' - Status: - $ref: './schemas/status.yml' SubmitApplication: $ref: './schemas/submit-application.yml' UpdateDestination: