Closed jskov-jyskebank-dk closed 10 months ago
Related from the Nexus API:
/v1/status:
get:
tags:
- "Status"
summary: "Health check endpoint that validates server can respond to read requests"
description: ""
operationId: "isAvailable"
consumes:
- "application/json"
produces:
- "application/json"
parameters: []
responses:
"200":
description: "Available to service requests"
"503":
description: "Unavailable to service requests"
Generator would insist on 200-to-204.
But the call does return 200, so the generator should make such an assumption. Use the API's return type, but then just mark it as void.
See https://swagger.io/specification/#responses-object
The ACR api declares a 200 response without type (schema), which causes generator to insist on parser-fixup-void-200-to-204. It should instead use the provided default-schema.