This repository has been archived by the owner on Jul 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
The package go-restful-swagger12 does not display all operations in swagger.json #5
Comments
use this rule in version 1.2 in your case: |
Thanks. It works. |
Yes, Why not! in version 2 all document represent in one json in this url: {
"schemes": [],
"swagger": "2.0",
"info": {},
"host": "",
"paths": {}
} |
Thanks |
Hi. |
I tried to use go-restful-openapi and it works as I want )))) |
gorexlv
pushed a commit
to gorexlv/go-restful-swagger20
that referenced
this issue
Aug 31, 2020
support describing response headers
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I tried to test https://github.com/emicklei/go-restful/blob/master/examples/restful-user-resource.go, but go-restful-swagger12 does not display all operations ?
$ curl http://localhost:8080/swagger.json
{
"swaggerVersion": "1.2",
"apis": [
{
"path": "/users",
"description": "Manage Users hello "
}
],
"apiVersion": "",
"info": {
"title": "",
"description": ""
}
}
Thanks by advance.
Best regards,
Ahmed ZENAKHI
The text was updated successfully, but these errors were encountered: