Skip to content
Snippets Groups Projects
Commit 687e255f authored by Justin Ehlert's avatar Justin Ehlert
Browse files

Create initial swagger structure

parent 1dab2a1f
No related branches found
No related tags found
No related merge requests found
build/
node_modules/
swagger: '2.0'
info:
version: 0.0.1
title: SciTran
basePath: '/api'
schemes:
- 'api'
produces:
- 'application/json'
consumes:
- 'application/json'
paths:
$ref: ./paths/index.yaml
definitions:
$ref: ./definitions/index.yaml
{
"name": "scitran-core-swagger",
"version": "0.0.1",
"description": "REST API Documentation and Code Generation for the SciTran core SDK",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Justin Ehlert <justinehlert@flywheel.io>",
"license": "MIT",
"devDependencies": {
}
}
get:
summary: 'List all groups on the site'
operationId: 'getAllGroups'
responses:
200:
description: OK
schema:
$ref: "../schemas/output/groups-list.json"
/groups:
$ref: ./groups.yaml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment