Skip to content
Snippets Groups Projects
Commit c410ed07 authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

Merge branch 'pr-delete-status-ressource' into 'main'

Removed /status ressource

See merge request fit-connect/api!37
parents 9ecbb0cf 35b52a49
No related branches found
No related tags found
1 merge request!37Removed /status ressource
...@@ -7,11 +7,14 @@ rules: ...@@ -7,11 +7,14 @@ rules:
no-default-additionalProperties: hint no-default-additionalProperties: hint
string-maxlength: hint string-maxlength: hint
typed-enum: error typed-enum: error
paths-status: warn
response-with-json-object: error 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-return-problem: off
paths-status-problem-schema: off paths-status-problem-schema: off
except: except:
'#/info/version': '#/info/version':
- use-semver - use-semver
\ No newline at end of file
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"
title: Servicestatus
type: object
required:
- status
properties:
status:
type: string
...@@ -36,9 +36,6 @@ paths: ...@@ -36,9 +36,6 @@ paths:
/info: /info:
$ref: './endpoints/info/get-info.yml' $ref: './endpoints/info/get-info.yml'
/status:
$ref: './endpoints/status.yml'
components: components:
securitySchemes: securitySchemes:
OAuth20: OAuth20:
...@@ -91,8 +88,6 @@ components: ...@@ -91,8 +88,6 @@ components:
$ref: './schemas/list-of-application-ids.yml' $ref: './schemas/list-of-application-ids.yml'
StateTransition: StateTransition:
$ref: './schemas/state-transition.yml' $ref: './schemas/state-transition.yml'
Status:
$ref: './schemas/status.yml'
SubmitApplication: SubmitApplication:
$ref: './schemas/submit-application.yml' $ref: './schemas/submit-application.yml'
UpdateDestination: UpdateDestination:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment