smolblog
http-spec
smolblog | http-spec | |
---|---|---|
3 | 19 | |
3 | 19 | |
- | - | |
5.7 | 6.1 | |
about 1 month ago | about 1 month ago | |
PHP | TypeScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
smolblog
-
Ask HN: Who wants to be hired? (June 2024)
Location: South Carolina
Remote: Required
Willing to relocate: No
Technologies: PHP, Ruby, Rails, WordPress, Javascript, Typescript, React, Vue, Svelte, Next.js, SvelteKit, Swift, SwiftUI, MySQL, Postgres, SQLite, SQL, HTML, CSS, Tailwind, Bootstrap, Domain-driven design, event sourcing, REST API
Resume: https://eph.me/cv
Email: [email protected]
Notes: I'm looking for somewhere to explore software architecture and dig into system-level problems; I'm working on building out my own extensible system for my open-source project Smolblog ( https://github.com/smolblog/smolblog ). I've also enjoyed planning epics and coordinating work for a team of engineers. Salary is secondary to a good work environment and team.
I am looking for remote work and would be most comfortable with no travel requirements.
-
Show HN: Supermaven, the first code completion tool with 300k token context
Trying it now on my super-specific codebase, and it seems to be working for the most part. Well done! I was able to get started on a new feature, and it got about 80% there with my custom-built framework: https://github.com/smolblog/smolblog/pull/61/commits/869a2ea...
-
OpenAPI v4 Proposal
I'm trying to go in this direction with an API I'm building at the moment in PHP: https://github.com/smolblog/smolblog-core/tree/feature/api-b... It uses a combination of definition-in-code (also used to translate the endpoint classes to the outside framework), reflection, and PHP annotations to generate the OpenAPI spec which I'm loading into Swagger to do testing.
http-spec
-
Do you Know Only Fools Use APIs Doc Platform?
If you're in the tech world, especially dealing with APIs, then you've probably heard of Readme.io, RapidDoc, Redocly, Mintlify, and Spotlight. But with so many of them competing for your business, I think you should read the following lines before you make up your mind.
- The most effective Schema-Driven Development using OpenAPI for Logistic Engineer
- Spotlight: Sentry for Development
-
Testing an OpenAPI specification in PHP
However, we do not need to write the specification by hand, as there are GUI editors to perform that task. We show a couple of examples of Spotlight, which provides an easy-to-use interface:
-
Rapid Prototyping of Design-First APIs in Go
We use Stoplight Studio https://stoplight.io/ to design APIs, one of the advantages of Stoplight Studio is the Visual interface, it generates OpenAPI specs from the design and supports OpenAPI v3, allowing users to create, edit, and view API designs using the OpenAPI standard.
-
OpenAPI v4 Proposal
I'm sorry, but you have completely misunderstood the purpose of Open API.
It is not a specification to define your business logic classes and objects -- either client or server side. Its goal is to define the interface of an API, and to provide a single source of truth that requests and responses can be validated against. It contains everything you need to know to make requests to an API; code generation is nice to have (and I use it myself, but mainly on the server side, for routing and validation), but not something required or expected from OpenAPI
For what it's worth, my personal preferred workflow to build an API is as follows:
1. Build the OpenAPI spec first. A smaller spec could easily be done by hand, but I prefer using a design tool like Stoplight [0]; it has the best Web-based OpenAPI (and JSON Schema) editor I have encountered, and integrates with git nearly flawlessly.
2. Use an automated tool to generate the API code implementation. Again, a static generation tool such as datamodel-code-generator [1] (which generates Pydantic models) would suffice, but for Python I prefer the dynamic request routing and validation provided by pyapi-server [2].
3. Finally, I use automated testing tools such as schemathesis [3] to test the implementation against the specification.
[0] https://stoplight.io/
[1] https://koxudaxi.github.io/datamodel-code-generator/
[2] https://pyapi-server.readthedocs.io
[3] https://schemathesis.readthedocs.io
- Swagger Hub alternatives
-
Examples of API Governance?
One of the best tools out there for API design and governance https://stoplight.io/ you can also use the open source tool (also from Stoplight) called Spectral https://stoplight.io/open-source/spectral
-
Review: 10 Top API Mock Tools
Stoplight is a platform for designing, documenting, and testing APIs. Its "Mocks" feature allows you to create mock versions of your API for testing and development purposes. In addition to the mock feature, Stoplight also includes tools for API design, documentation, and testing, making it a comprehensive platform for API development.
-
💰 My Frugal Indie Dev Startup Stack
Stoplight
What are some alternatives?
oatx - Generator-less JSONSchema types straight from OpenAPI spec
fern - 🌿 Stripe-level SDKs and Docs for your API
effect-http - Declarative HTTP API library for effect-ts
postcat - Postcat 是一个可扩展的 API 工具平台。集合基础的 API 管理和测试功能,并且可以通过插件简化你的 API 开发工作,让你可以更快更好地创建 API。An extensible API tool.
taxilang - Taxi is a language for describing APIs, data models, and how everything relates
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
vercel - Develop. Preview. Ship.
swag - Automatically generate RESTful API documentation with Swagger 2.0 for Go.
OneSDK - 1️⃣ One Node.js SDK for all the APIs you want to integrate with
swagger-typescript-api - TypeScript API generator via Swagger scheme
hoverfly - Lightweight service virtualization/ API simulation / API mocking tool for developers and testers