87 lines
1.1 KiB
YAML
Executable File
87 lines
1.1 KiB
YAML
Executable File
_id: spc_ef0533716b9644f396437a09c24d508c
|
|
type: ApiSpec
|
|
parentId: wrk_5237895e363449abafe860d42ec85479
|
|
modified: 1686318292705
|
|
created: 1686318289373
|
|
fileName: my-spec.yaml
|
|
contents: "openapi: \"3.0.0\"
|
|
|
|
info:
|
|
|
|
\ title: \"Simple API Overview\"
|
|
|
|
\ contact: {
|
|
|
|
\ \"name\": \"General API Manager\",
|
|
|
|
\ \"url\": \"aschaafsma.nl\",
|
|
|
|
\ \"email\": \"and.schaafsma@gmail.com\"
|
|
|
|
\ }
|
|
|
|
\ description: \"ya yeet\"
|
|
|
|
\ version: 1.0.0
|
|
|
|
servers:\
|
|
|
|
\ - url: http://localhost:3000
|
|
|
|
|
|
tags:
|
|
|
|
\ - name: version
|
|
|
|
\ description: API version information
|
|
|
|
|
|
paths:
|
|
|
|
\ /:
|
|
|
|
\ get:
|
|
|
|
\ tags:
|
|
|
|
\ - version
|
|
|
|
\ description: Lists all available API versions
|
|
|
|
\ operationId: getVersions
|
|
|
|
\ summary: List API Versions
|
|
|
|
\ responses: {
|
|
|
|
\ '200': {
|
|
|
|
\ 'description': 'The api version info being returned',
|
|
|
|
\ 'content': {
|
|
|
|
\ \"application/json\": {
|
|
|
|
\ \"schema\": {
|
|
|
|
\ \"$ref\": \"#/API\"
|
|
|
|
\ }
|
|
|
|
\ }
|
|
|
|
\ }
|
|
|
|
\ }
|
|
|
|
\ \
|
|
|
|
\ \
|
|
|
|
\ \
|
|
|
|
\ \
|
|
|
|
\ "
|
|
contentType: yaml
|