swagger-tools icon indicating copy to clipboard operation
swagger-tools copied to clipboard

A Node.js and browser module that provides tooling around Swagger.

Results 101 swagger-tools issues
Sort by recently updated
recently updated
newest added

I've been trying to use swagger-tools to validate requests to my controllers. It seems that when I perform a request with the body parameter specified as a base class, validation...

According to the [Swagger 2.0 spec](https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#operation-object), regarding `operationId` : > A friendly name for the operation. The id MUST be unique among all operations described in the API. Tools and...

1.0.0

Hi! Is there a way to validate Headers defined in the swagger definition file?. I defined Headers for 201 response, but swagger's validator does not thrown any schema validation issue...

Add a value example to mock

It has been reported that `v0.10.x` support is no longer available for `swagger-tools`. While technically I don't mind, there are people still using `v0.10.x` _(as reported in #537)_ and we...

I'm using swagger-restify-mw and swagger-tools/middleware/swagger-ui. I'm trying to send the authorization key to the header of all requests, but it does not work. This is my code: index.js `var swaggerConfig...

Hello. I just ran into an interesting issue with the library. We want to parse some of our request bodies using the `raw` parser, so we added a separate body...

Hi, First of all thanks for this great library! I'm came across a validation issue (unless I'm doing things wrong). Here it is: Given this swagger specification: ```yaml swagger: '2.0'...

I don't think `apiDocsPrefix` is used at all, while `swaggerUiPrefix` is used for `swaggerApiDocsURL`. See: https://github.com/apigee-127/swagger-tools/blob/master/middleware/swagger-ui.js#L141 Opening for tracking purposes, I'm investigating and might open a PR.