Skip to content

Instantly share code, notes, and snippets.

@Lewiscowles1986
Created December 6, 2016 05:11
Show Gist options
  • Save Lewiscowles1986/9c8ca7b516bc4951fb1c5d69f112c2fe to your computer and use it in GitHub Desktop.
Save Lewiscowles1986/9c8ca7b516bc4951fb1c5d69f112c2fe to your computer and use it in GitHub Desktop.
Useless Swagger - What I imagine most start off with
swagger: '2.0'
info:
title: Testing Swagger
description: This is a test repo
version: "1.0.0"
# the domain of the service
host: api.codesign2.co.uk
# array of all schemes that your API supports
schemes:
- https
# will be prefixed to all paths
basePath: /v1
produces:
- application/json
paths:
"/":
get:
responses:
200:
description: "Everything is always okay"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment