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
{{ message }}
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.
Not a huge deal, but I don't think $ref'd parameters names are coming in... not certain how to get them to be pulled and not certain how swagger sdk works in node?
swagger.json snippet:
"paths": {
"/churches": {
"get": {
"tags": [
"church"
],
"summary": "Get all churches",
"description": "Get a list of all churches based on search parameters",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/offsetParam"
},
{
"$ref": "#/parameters/limitParam"
}
],
routes snippet that were created by yo-swaggerize:
module.exports = {
/**
* Get a list of all churches based on search parameters
* parameters: ,
* produces: application/json
*/
get: function (req, res) {
res.send(501);
},
I modified the above a bit, so forgive me if it's not a pristine example, but the comments are the interesting part.
I'd love to help out, if you have any pointers on where to drill into I'd love to cut my teeth on a pull request.
Thanks in advance,
Paul
The text was updated successfully, but these errors were encountered:
Not a huge deal, but I don't think $ref'd parameters names are coming in... not certain how to get them to be pulled and not certain how swagger sdk works in node?
swagger.json snippet:
routes snippet that were created by yo-swaggerize:
I modified the above a bit, so forgive me if it's not a pristine example, but the comments are the interesting part.
I'd love to help out, if you have any pointers on where to drill into I'd love to cut my teeth on a pull request.
Thanks in advance,
Paul
The text was updated successfully, but these errors were encountered: