Skip to content

Instantly share code, notes, and snippets.

@mikebridge
Created October 28, 2023 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebridge/64e45cb6fb627676b54e5b83c49e0497 to your computer and use it in GitHub Desktop.
Save mikebridge/64e45cb6fb627676b54e5b83c49e0497 to your computer and use it in GitHub Desktop.
Test OpenAPI
openapi: 3.0.0
paths:
/:
get:
operationId: AppController_getHello
parameters: []
responses:
'200':
description: ''
/tracks/{id}:
get:
operationId: TrackController_findOne
parameters:
- name: id
required: true
in: path
schema:
type: string
responses:
'200':
description: ''
info:
title: NestJS Scrobbled
description: NestJS Scrobbled Demo app
version: '1.0'
contact: {}
tags:
- name: scrobbled
description: ''
servers: []
components:
schemas: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment