Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新建接口,导入Swagger文件功能支持无type字段定义的object类型 #115

Open
yuanfux opened this issue Oct 21, 2019 · 0 comments

Comments

@yuanfux
Copy link

yuanfux commented Oct 21, 2019

支持例如以下的yaml文件定义

ItemQcBasicInfo:
    required:
    - addedTime
    - itemId
    - itemName
    - phyCategory1Name
    - qcCategory1Name
    - sqe
    - sqeGroup
    - supplierId
    properties:
      itemName:
        type: string
        description: 商品名称
      itemId:
        type: string
        description: 商品ID
      supplierId:
        type: string
        description: 供应商ID
      sqe:
        type: string
        description: SQE
      sqeGroup:
        type: string
        description: SQE组
      phyCategory1Name:
        type: string
        description: 物理一级类目
      qcCategory1Name:
        type: string
        description: 品控一级类目
      addedTime:
        type: integer
        format: int64
        description: 上架时间
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant