Files
nuxt4/openapi-spec/example-api.yaml
T
2026-05-03 07:26:12 +00:00

40 lines
868 B
YAML

openapi: 3.0.3
info:
title: Example API
version: 1.0.0
servers:
- url: /api
paths:
/health:
get:
operationId: getHealth
responses:
'200':
description: API health status
content:
application/json:
schema:
type: object
required:
- status
properties:
status:
type: string
enum:
- ok
/welcome:
get:
operationId: getWelcome
responses:
'200':
description: Welcome message
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string