info:
description: Petisco Sample Service
version: 1.0.0
title: Petisco
license:
name: Apache 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
tags:
- name: Info
description: Information about the service
paths:
/healthcheck:
get:
summary: Returns healthcheck information.
operationId: petisco.healthcheck
responses:
200:
description: The healthcheck was successful.
content:
application/json:
schema:
type: string
503:
description: Error connecting with configured persistence (Database Connection)
/environment:
get:
summary: Returns environment information.
operationId: petisco.environment
security:
- ApiKeyAuth: []
responses:
200:
description: The information has been returned.
content:
application/json:
schema:
type: string
401:
description: Access token or API key is missing or invalid.
500:
description: Unexpected Error obtaining environment info