Skip to content

Instantly share code, notes, and snippets.

@owenconti
Last active July 20, 2017 12:44
Show Gist options
  • Save owenconti/d38603a95558b200299713a926624cf3 to your computer and use it in GitHub Desktop.
Save owenconti/d38603a95558b200299713a926624cf3 to your computer and use it in GitHub Desktop.
swagger: "2.0"
info:
version: "1.0.0"
title: "someName"
host: "localhost:8080"
basePath: "/rest"
tags:
- name: "someTag"
schemes:
- "http"
paths:
/search/receiptTime:
get:
tags:
- "someTag"
summary: "someSummary"
description: "someDescription"
operationId: "someOperationId"
produces:
- "application/json"
- "application/xml"
responses:
200:
description: OK
parameters:
- name: "nodeIndexName"
in: "query"
required: true
type: "string"
- name: "excludeTime"
in: "query"
required: true
type: "boolean"
default: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment