thomas4019 / expressa-admin

React frontend for interacting with a site running expressa
2 stars 3 forks source link

Add descriptions on object properties #11

Closed thomas4019 closed 7 years ago

thomas4019 commented 7 years ago

These would be helpful to provide make schemas self documenting.

coderofsalvation commented 7 years ago

isn't this already supported?

{
  type:"object"
  properties{
    item_id:{
       type:"string",
       description:"this is a reference to the item collection",     
    }
  }
}

These are displayed in json-editor as well as the generated documentation of expressa-swagger at /api/doc

thomas4019 commented 7 years ago

You're right. It's actually an issue with my json-schema-editor not with expresssa-admin.