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

Define and serve live-updating Swagger JSON for Ruby apps.

Results 36 swagger-blocks issues
Sort by recently updated
recently updated
newest added

[OpenAPI v3 RC 0](https://www.openapis.org/blog/2017/03/01/openapi-spec-3-implementers-draft-released) is out. There's a [growing number of tools targeting the draft](https://github.com/Mermade/awesome-openapi3). Are there plans to update `swagger-blocks` to output OpenAPI v3?

I followed the README guidelines and created a JSON file after copy-pasting JSON response when hitting `http://localhost:3000/apidocs` URL. [Swagger Editor](https://editor.swagger.io/) fails to accept it saying: Here is ApidocsController: ``` class...

I'm using swagger-blocks for quite a bit now, we have started documenting our code using it, in one place there's an API response which returns multiple objects in the included...

I hope this is a legit question, I searched everywhere for an example or any source of information on how to do this. I tried this https://github.com/fotinakis/swagger-blocks/issues/17 as well. But...

when use grape swagger,then I don't need to 'set response 200' 。but now, it think that, I have to set it in every operations. how to set response 200 to...

When it's used an array as parameter in a form data, there are not accepting key type like integer. It's converting each item to a string. For example: If I...

Hi, I can`t add more than two controllers in Swagger-blocks, for example : SWAGGERED_CLASSES = [ Api::V1::HousesController, Api::V1::CitiesController, Api::V1::ProvincesController, self, ].freeze In Swagger-ui i have only two items Houses and...

Adding OpenAPI to gem summary will helps people to find this gem on rubygems.org by openapi keyword.

Any hints on how to translate something like this to Swagger-Blocks? ``` 200: description: Returns the CORS response headers headers: Access-Control-Allow-Origin: type: string Access-Control-Allow-Credentials: type: boolean Access-Control-Allow-Headers: type: array collectionFormat:...

I'm following the JSON-API specification [http://jsonapi.org/](http://jsonapi.org/) but the format generated by swagger_schema doesn't put things in that format. So the json generated in the documentation doesn't match what's actually produced....