null
cakephp-swagger-bake
Our great sponsors
null | cakephp-swagger-bake | |
---|---|---|
5 | 8 | |
1,723 | 56 | |
- | - | |
5.6 | 5.8 | |
about 1 month ago | 21 days ago | |
Go | PHP | |
BSD 2-clause "Simplified" License | 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.
null
-
JSON encoder/decoder supporting omitempty on structs
Use-case: working on PATCH requests, the body may or may not contain nullable values. I am using guregu/null and I can't use a pointer because if the json contains "null" as a value, the pointer will be set to nil in the struct, instead of a value representing the presence of null. In short I can't differentiate the absence of the field in the request from the presence of the field with a null value.
-
Nilable - finally a way to stop using pointers just to get the nil state
https://github.com/guregu/null is an awesome package implementing most SQL scanner Interfaces plus JSON
- Golang backend with lots of raw SQL queries
-
Gonion - Golang Client for querying Tor network data
Unfortunately in Go, switching to *bool makes the api a little more awkward to use since users that need to set true or false have to define a local variable then use a pointer to that. Another option would be something like null, but that adds a dependency to your currently-dependency-free project. If anyone has a better solution to this pattern, I'd love to hear it.
cakephp-swagger-bake
-
Atlassian to shed 5 per cent of workers
I do work in that space. I build APIs and I use them. I built a springdoc for php so I know a bit about what I am talking about: https://github.com/cnizzardini/cakephp-swagger-bake
The Postman UX is not good on it. It's easy to get lost in tabs, they should ditch the tabs and categorize requests under the actual endpoint. There is also no way to easily save like requests and give them better names that is also searchable. It's also built on electron which means its slow and clunky.
There is nothing good in this space. Swagger would do it if they let you save requests to local browser storage and just added a history dropdown to the endpoints. I use swagger and save common requests to a file system and open them in sublime. if its just JSON payloads I am working with it does the job.
-
Scramble: Automatic API documentation generator for Laravel. No PHPDoc annotations required.
This https://github.com/cnizzardini/cakephp-swagger-bake and this https://mixerapi.com have been the result of my work.
- Accessing private properties in PHP
-
Testing PHP API for a small key-value database
This can easily integrate into your existing github actions, here is an example of its usage on a project I maintain: https://github.com/cnizzardini/cakephp-swagger-bake
-
Ask HN: What are some tools / libraries you built yourself?
https://github.com/cnizzardini/cakephp-swagger-bake which builds out openapi from your cakephp applications meta data. One of many projects I took up to occupy myself during covid lockdowns.
- Release v1.7.0 ยท SwaggerBake - An OpenAPI generator for CakePHP
-
Can you guys recommend a secure and fast framework for creating a REST API?
Really anything modern works. I thought Laravel was supposed to be easy to learn, but I have only poked around. Symfony is fine, I've done a lot in it. I've used CakePHP a ton and as a shameless promotion I built this OpenAPI/Swagger/Redoc generator for it: https://github.com/cnizzardini/cakephp-swagger-bake/ and if my side project was further a long I'd of course recommend: https://mixerapi.com buts its still alpha.
What are some alternatives?
fselect - Find files with SQL-like queries
Nullboard - Nullboard is a minimalist kanban board, focused on compactness and readability.
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
PHP-CRUD-API - Single file PHP script that adds a REST API to a SQL database
Tabula - Extract tables from PDF files
rupy - HTTP App. Server and JSON DB - Shared Parallel (Atomic) & Distributed
Pion WebRTC - Pure Go implementation of the WebRTC API
Task - A task runner / simpler Make alternative written in Go
Zip Foundation - Effortless ZIP Handling in Swift
Fusio - Open source API management platform
tera - A template engine for Rust based on Jinja2/Django
csvutil - csvutil provides fast and idiomatic mapping between CSV and Go (golang) values.