go-oas / docs Goto Github PK
View Code? Open in Web Editor NEWAutomatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard
Home Page: https://t.me/go_oas
License: MIT License
Automatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard
Home Page: https://t.me/go_oas
License: MIT License
Implement 2, or 3 layers of possible initialization?
Based on users choice, or speed of the development:
MapTransformer
interface, in which a user could pass their own map to alter the behavior of the Builder.Add CLI support - make it CLI friendly
Add the ability to for Go tests conversion to Cypress/Katalon suites (convert mocked unit tests into e2e tests)
Add validation to all structures based on OAS3.0.3
Precise description TBD. This will act as a parent task.
internal
func types
for chaining sequences?Few RFCs proposed:
Use https://github.com/markbates/pkger
or compile whole /dist
into a byte slice...
Hi,
Is there any example code for how to use go-oas to generate request and response examples for swagger docs?
Do schemas have to be manually specified or is there a way to generate them from golang structs?
!Pre-Release action!
The readme should be updated to be concise, for a quick get-go.
Consider publishing GHPages/Docs to accompany it for smaller details that shouldn't be apart of the readme?
To be more restrictive, migrate from using interface{}
for annotator routes to something like RouteFn
with int, *OAS
as its params?
As support for FE testing & unified FE mocks, support exporting swagger models, to have a single source of truth for those entities on both BE & FE.
New() OAS
What easier (more transparent way) is there to register documentation handlers for each endpoint?
Also, consider using a service in order to share common endpoint setups?
When navigating to ./examples
and initiating go run *.go
it fails at segmentation & nil dereference - because it's expected to be called from the root.
Add ReDoc support as an alternative to SwaggerUI.
It should be feasible with minor adjustments to the current server, but this support will have to wait for more urgent features to be released first.
Golang Build is failing. Investigate & fix.
Add postman support via PM API.
Postman support (build & push via PM API).
Further research required to make a sane decision about this feature.
Implement adequate ordering of the map elements, compared to standard OAS 3.0.1
.
Current relevant point in the code is build.go:56::transformToMap()
.
YAML output is valid, but openapi lint
is reporting:
Property `<T>` is not expected here
Which happens due to the nature of inbuilt maps.
FYI: Alternative to maps usage was something like this: gist link
But it proved difficult for $ref
and deeply nested structs which had to be altered. Should it be revisited?
Add Makefile
Add Linter
Add Build Pipeline | GH Actions
Add Tests to the pipeline
Add release tagging flow
Add badges for coverals/releases
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.