Skip to content

Instantly share code, notes, and snippets.

@mwilliammyers
Created August 2, 2016 00:49
Show Gist options
  • Save mwilliammyers/ee1cb5ba94b3f3566e7f049d662080ce to your computer and use it in GitHub Desktop.
Save mwilliammyers/ee1cb5ba94b3f3566e7f049d662080ce to your computer and use it in GitHub Desktop.
swagger: "2.0"
info:
version: "2.0.0"
title: nba minimal
description: Endpoints for the [NBA Stats API](stats.nba.com)
license:
name: MIT
url: http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
host: stats.nba.com
basePath: /stats
securityDefinitions: {}
schemes:
- http
consumes:
- application/json
produces:
- application/json
paths:
/commonallplayers:
get:
description: test
operationId: commonallplayers
produces:
- application/json
parameters:
- name: IsOnlyCurrentSeason
in: query
required: true
x-is-map: false
type: integer
format: int32
- name: LeagueID
in: query
required: true
x-is-map: false
type: integer
format: int32
- name: Season
in: query
required: true
x-is-map: false
type: string
responses:
"200":
description: test
schema:
type: object
security: []
/playergamelog:
get:
description: test
operationId: playergamelog
produces:
- application/json
parameters:
- name: LeagueID
in: query
required: true
x-is-map: false
type: integer
format: int32
- name: PlayerID
in: query
required: true
x-is-map: false
type: integer
format: int32
- name: Season
in: query
required: true
x-is-map: false
type: string
- name: SeasonType
in: query
required: true
x-is-map: false
type: string
responses:
200:
description: test
schema:
type: object
security: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment