Skip to content

Instantly share code, notes, and snippets.

@amakhrov
Last active January 9, 2020 00:57
Show Gist options
  • Save amakhrov/cb6e0242d1287f3d1f6a7b8457bd4163 to your computer and use it in GitHub Desktop.
Save amakhrov/cb6e0242d1287f3d1f6a7b8457bd4163 to your computer and use it in GitHub Desktop.
swagger: '2.0'
info:
title: Test
description: Test
version: 4.0.0
host: crunchbase.com
schemes:
- https
basePath: /v4
produces:
- application/json
paths:
/test:
get:
summary: Test
tags: [Test]
responses:
200:
description: The requested Files
schema:
$ref: '#/definitions/Labels'
definitions:
Labels:
type: object
properties:
values_bounds:
$ref: "#/definitions/FieldValuesBoundsLabels"
FieldValuesBoundsLabels:
description: |
Object where keys are the values from the field values array, and values are objects containing labels for their
upper and lower bounds.
type: object
additionalProperties:
$ref: "#/definitions/FieldValuesBoundsLabelsInner"
FieldValuesBoundsLabelsInner:
type: object
properties:
min_label:
type: string
max_label:
type: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment