目录

Alpha Prime 增加字段的过程

openapi client 更新后,升级前端依赖

node update-apis.js

定义嵌套的复杂字段(array of pojo)

举例: unique-key.yaml:

name: UniqueKey
type: pojo
fields:
  cols:
    type: array
    item: string

在 entity.yaml 中使用:

    uniqueKeys:
    type: array
    item:
      type: pojo
      from: ./unique-key.yaml