example/config/open_api.yml
swagger: '2.0'
info:
title: OpenAPI App
description: This is a sample server Petstore server.
termsOfService: 'http://open-api.io/terms/'
contact:
name: API Support
url: 'http://www.open-api.io/support'
email: support@open-api.io
license:
name: Apache 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
version: 1.0.1
host: 'localhost:3000'
schemes:
- http
- https
consumes:
- application/json
- application/xml
produces:
- application/json
- application/xml