-
-
Save theomega/b7e9f34f0dad11b92c1cb9de9fc95d32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
version: 2.0.0 | |
title: Swagger API | |
schemes: | |
- http | |
host: 'localhost:8080' | |
paths: | |
'/hello': | |
get: | |
description: Magic Endpoint | |
parameters: | |
- $ref: '#/parameters/queryAggregates' | |
responses: | |
'200': | |
description: Success case | |
schema: | |
type: string | |
parameters: | |
queryAggregates: | |
name: aggregates | |
in: query | |
description: Magic Description | |
required: true | |
type: array | |
collectionFormat: csv | |
items: | |
type: string | |
enum: | |
- avg | |
- min | |
- max | |
- count | |
- numCount | |
- boolCount | |
- stringCount | |
- stringValues | |
- boolValues | |
x-example: count | |
x-example: avg | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment