swagger
GoSwagger
swagger | GoSwagger | |
---|---|---|
5 | 25 | |
1,609 | 9,280 | |
0.9% | 0.6% | |
9.6 | 8.7 | |
5 days ago | 7 days ago | |
TypeScript | Go | |
MIT License | 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.
swagger
-
Can you tell me what's the difference of using @nestjs/swagger instead of class-validators for DTO validation? thank you
Yeah the API is very similar but they serve different purposes as you mention here. It looks like there's been some discussion about aligning them since other people have had a similar observation.
-
NestJS + esbuild workarounds
1. openapi is not defined. https://github.com/nestjs/swagger/issues/1450
-
decorators
The repository for every optional NestJS package that has decorators seems to consistently put them in /lib/decorators. For example, here are the NestJS Swagger decorators.
-
OpenAPI Specification: The Complete Guide
NestJS provides a dedicated module which allows generating OpenAPI (Swagger) - Github - nestjs/swagger
-
Announcing Ditsmod 2.0 beta (with RealWorld example)
Thanks to the system of extensions, Ditsmod applications are more expressive and with less code. For example, if you compare OpenAPI modules written in Ditsmod and NestJS, the Ditsmod module is 3.5 times smaller in the number of lines of code or the number of files.
GoSwagger
- How do you provide documentation for your REST APIs?
-
What is the benefit of creating a server struct?
Hi everyone, I was going through go-swagger todo list example and came across the following implementation of server struct.
-
OpenAPI v4 Proposal
Much or some OpenAPI tooling has not even moved past OpenAPI 2.0 some even refusing and saying that they will not update to Swagger 3.0 [0] and others have issues open since some 2019 and still open with no resolution in sight (because these are individuals doing out of passion and the spec is complex to implement) and yet we have Open API spec 4.0
All this is - trying to do RPC over HTTP in a fashion that was deemed virtuous in some doctoral thesis.
I wish there were better alternatives for RPC that work everywhere including browsers.
[0]https://github.com/go-swagger/go-swagger/issues/1122#issueco...
-
[Request] Library Recommendation for Auto Swagger/OpenAPIv3 Documentation
I recommend this: https://github.com/go-swagger/go-swagger
-
A there any production-ready code generators?
Hi there. I am seeking any open source Schema Driven Development tool like go-swagger, but i really need to use there:
- Is there a way to generate controller from swagger through build tools?
-
Go-Swagger not generating properties in yaml file
Can anyone point out what am I doint wrong? Note: I have already checked No properties generated in json file for swagger:response but didn't find anything which can help.
-
FastAPI Replacement - especially with openapi
Try this https://github.com/go-swagger/go-swagger. It generates code for you. It is useful if only for you to generate the models/structs you could use.
-
OpenAPI Specification: The Complete Guide
go-swagger brings to the go community a complete suite of fully-featured, high-performance, API components to work with a Swagger API: - Github - Swagger 2.0 implementation for go
-
Easiest way to make a documentation?
There is also a Code Generator that reads in a swagger file (2.0 only) and generates code for you, so all you have to do is create functions.
What are some alternatives?
springfox - Automated JSON API documentation for API's built with Spring
swag - Automatically generate RESTful API documentation with Swagger 2.0 for Go.
drf-spectacular - Sane and flexible OpenAPI 3 schema generation for Django REST framework.
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
go-kit - A standard library for microservices.
nestjs-otel - OpenTelemetry (Tracing + Metrics) module for Nest framework (node.js) 🔭
kin-openapi - OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
nest-cli - CLI tool for Nest applications 🍹
goa - 🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨
realworld - "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications