api2swagger icon indicating copy to clipboard operation
api2swagger copied to clipboard

Generate Swagger 2.0 spec from an API call

Results 7 api2swagger issues
Sort by recently updated
recently updated
newest added

Hi, Two thumbs up for a great tool! I got an error as follows when I tried it on a new IBM API. I know that the API requires a...

Fixes #5 by checking for an undefined content-type header in the response before accessing it.

Each time i want to do: `api2swagger -e -H "Authorization: Bearer ... " http://127.0.0.1/api/boards/ -X GET` I get alot of questions which i basically answered with defaults, except on HTTPS...

Added support for json-like media types that use the [+json](https://tools.ietf.org/html/rfc6839#section-3.1) suffix, such as `application/problem+json` or `application/hal+json`. * Schemas are now generated for request and response bodies when the content type...

1. Make a `POST` request which includes body data, but does not include a `content-type` header. ```api2swagger -X POST -e https://api.github.com -o ./testSwagger.json -d '{\"test\":\"test\"}'``` 2. Note that the outputted...

Example URL: /records/example/autocomplete/name 1. I tell api2swagger that "example" and "name" are the dynamic portions of the URL 2. For "example", tell it the parameter name is "name space" 3....

Hi! I just tried using your generator for some Swagger doc generation (super glad to find you started this! :smile: ). Although the generated document passes validation in the Swagger...