Skip to content

ebi-uniprot/json-to-typescript-diff-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This script is used to view the differences in endpoint model changes by:

  1. Converting example JSON --> Typescript schema for each of current and next endpoints
  2. Generating a text diff
  3. Creating and opening an HTML of the diff

Usage

yarn model-diff <current-json-endpoint-url> <next-json-endpoint-url> <html-out>

for example:

yarn model-diff \
https://wwwdev.ebi.ac.uk/uniprot/api/uniprotkb/accession/O43865/publications\?\&size\=100 \
http://wp-np2-be:8090/uniprot/api/uniprotkb/accession/O43865/publications\?\&size\=100 \
~/diff.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published