You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* removed golangci badge
* made it explicit the repo won't support swagger 3
* added some missing godoc comments
* run gofmt
* reworked one complex unit test for readability
* closes#21
Signed-off-by: Frederic BIDON <[email protected]>
The object model for OpenAPI specification documents.
9
8
10
-
Currently supports Swagger 2.0.
9
+
### FAQ
10
+
11
+
* What does this do?
12
+
13
+
> 1. This package knows how to marshal and unmarshal Swagger API specifications into a golang object model
14
+
> 2. It knows how to resolve $ref and expand them to make a single root documment
15
+
16
+
* How does it play with the rest of the go-openapi packages ?
17
+
18
+
> 1. This package is a the core of the go-openapi suite of packages and [code generator](https://github.com/go-swagger/go-swagger)
19
+
> 2. There is [spec loading package](https://github.com/go-openapi/loads) to fetch specs as JSON or YAML from local or remote locations
20
+
> 3. There is [spec validation package](https://github.com/go-openapi/validate) built on top of it
21
+
> 4. There is [spec analysis package](https://github.com/go-openapi/analysis) built on top of it, to analyze, flatten, fix and merge spec documents
22
+
23
+
* Does this library support OpenAPI 3?
24
+
25
+
> No.
26
+
> This package currently only supports OpenAPI 2.0 (aka Swagger 2.0).
27
+
> There is no plan to make it evolve toward supporting OpenAPI 3.x.
28
+
> This [discussion thread](https://github.com/go-openapi/spec/issues/21) relates the full story.
29
+
>
30
+
> An early attempt to support Swagger 3 may be found at: https://github.com/go-openapi/spec3
0 commit comments