Forum Discussion

vericomms's avatar
vericomms
New Contributor
2 years ago

Generate JSON Schemas

Is it possible to generate database (JSON) schemas based on swagger definitions?. Thanks. 
  • mhiggins's avatar
    2 years ago

    If the schema is used in any API you can Export the API in "Json Resolved" format and the flat file will contain the schema in json format. 

     

    converting that json schema to a suitable database schema is not something SwaggerHub can do, but there are open source tools that might help. Google "dashjoin" they do very cool stuff like this,