Skip to content

Instantly share code, notes, and snippets.

@amakhrov
Created January 29, 2020 01:57
Show Gist options
  • Save amakhrov/cd4fb082c0c087c41760a32e9d72e773 to your computer and use it in GitHub Desktop.
Save amakhrov/cd4fb082c0c087c41760a32e9d72e773 to your computer and use it in GitHub Desktop.
swagger: '2.0'
info:
version: '1.0'
title: Example API
schemes:
- http
paths:
/map:
get:
summary: Endpoint
responses:
200:
description: Map data
schema:
$ref: '#/definitions/map'
definitions:
map:
description: Map data
type: object
properties:
name:
description: Map name
type: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment