-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Russ Allen edited this page Jan 20, 2020
·
1 revision
Welcome to the Patentsview-Swagger wiki!
Here's what I did to create this repo:
- I reverse engineered a Swagger 2 object for patentsview.org's api.
- I downloaded Swagger UI: npm i swagger-ui-dist
- I edited and moved index.html to the top level of my repo
- I converted the Swagger 2 object to an OpenAPI/Swagger 3 object using https://lucybot-inc.github.io/api-spec-converter/
- I copied index.html to patentsviewswagger3.html and edited the url to point to the converted swagger object
Originally I used https://github.com/ReDoc-ly/create-openapi-repo#installation but then a year or two later I started getting emails saying there were vulnerable dependencies. To create the Swagger 2 object I started with one from a similar api, https://ped.uspto.gov/peds/, to learn how Swagger specifications work.