mohsen1 / multi-file-swagger-example

Multi-file Swagger example
http://azimi.me/2015/07/16/split-swagger-into-smaller-files.html
168 stars 39 forks source link

Output files do include yarn console output #19

Closed kopackiw closed 5 years ago

kopackiw commented 5 years ago

Prerequisites:

Action:

Problem:

compiled.yaml

$ /Users/wko/Programming/multi-file-swagger-example/node_modules/.bin/multi-file-swagger -o yaml index.yaml
swagger: '2.0'
info:
  version: 0.0.0
  title: Simple API
paths:
  /foo:
    get:
      responses:
        '200':
          description: OK
  /bar:
    get:
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/User'
definitions:
  User:
    type: object
    properties:
      name:
        type: string

Done in 0.28s.