swagger-api/swagger-codegen

[HTML2] Not making use of method examples

開放

#3,660 建立於 2016年8月29日

 (4 則留言) (0 個反應) (0 位負責人)HTML (5,474 個分叉)batch import
Client: HTMLEnhancement: Generalhelp wanted

倉庫指標

星標
 (12,701 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Description

Examples for parameters or return values are nowhere to be found in the resulting document.

Swagger-codegen version

2.2.1

Swagger declaration file content or url
swagger: '2.0'
info:
  version: 0.0.0
  title: Simple API
paths:
  /:
    get:
      parameters:
      - name: body
        in: body
        schema:
          type: string
          example: |
              foo
              bar
      responses:
        200:
          description: OK
          schema:
            type: string
            example: |
              foo
              bar

貢獻者指南