Skip to content

Instantly share code, notes, and snippets.

@owenconti
Last active July 22, 2017 15:46
Show Gist options
  • Save owenconti/5e2f9dd8646d395cd4d4399006d30441 to your computer and use it in GitHub Desktop.
Save owenconti/5e2f9dd8646d395cd4d4399006d30441 to your computer and use it in GitHub Desktop.
swagger: '2.0'
info:
title: Test API
version: '1'
schemes:
- http
basePath: /configuration
tags:
- name: configuration
paths:
/resolve:
post:
consumes:
- multipart/form-data
produces:
- text/plain
operationId: resolve
summary: Resolve context to configuration
tags:
- configuration
parameters:
- name: definition
in: formData
type: file
format: binary
required: false
allowEmptyValue: true
- name: paths
description: Limit to paths
in: formData
type: array
items:
type: string
collectionFormat: ssv
required: false
- name: format
description: Output format
in: formData
type: string
required: false
enum:
- hocon
- json
default: hocon
- name: trace
description: Trace rule application
in: formData
type: boolean
required: false
default: false
- name: comments
description: Include comments
in: formData
type: boolean
required: false
default: false
- name: origin
description: Include origin
in: formData
type: boolean
required: false
default: false
responses:
'200':
description: Success
'400':
description: Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment