apiclient-pydantic-generator
har-to-openapi
apiclient-pydantic-generator | har-to-openapi | |
---|---|---|
1 | 1 | |
29 | 71 | |
- | - | |
0.0 | 5.5 | |
6 months ago | 9 months ago | |
Python | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
apiclient-pydantic-generator
-
Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse
You could potentially go one step further and make Python classes that wrap the whole API automatically from the OpenAPI file: https://github.com/mom1/apiclient-pydantic-generator
har-to-openapi
-
Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse
Genson-js is used to merge JSON Schema objects. Essentially there are 5 schemas that we care about in each request, for request bodies, request headers, response bodies, response headers, and query parameters. Each endpoint (which may or may not be parameterised) has only one schema for each of these values.
The idea for a crawler is a good one. The core logic that handles spec generation is decoupled from everything else, so it can be extracted into its own library.
But there are approaches that exist for this already, such as har-to-openapi.
https://github.com/jonluca/har-to-openapi
What are some alternatives?
openapi-devtools - Browser extension that generates API specs for any app or website
gorilla - Gorilla: An API store for LLMs
scalar - Beautiful API references from OpenAPI/Swagger files ✨
requests-openapi - A lightweight but powerful and easy-to-use Python client library for OpenAPI v3.
api2ai - Create API agents from OpenAPI Specs
curlconverter - Transpile curl commands into Python, JavaScript and 27 other languages
webextension-polyfill - A lightweight polyfill library for Promise-based WebExtension APIs in Chrome
DefinitelyTyped - The repository for high quality TypeScript type definitions.