swagger-converter
swagger-converter copied to clipboard
OpenAPI/Swagger 2.0 to OpenAPI 3.0 Converter WebService
I'm getting NoSuchMethodError. during 2.0 to 3.0 conversion. I dont see the addProperties method signature in abstract class, its available in ModelsImpl extended class `` dependency io.swagger.parser.v3 swagger-parser 2.0.16 io.swagger.parser.v3...
Fixes swagger-api/swagger-converter#61
Swagger 2.0 multipart/form-data defined as below: ```javascript consumes: - multipart/form-data produces: - application/json parameters: - type: file name: artifact in: formData required: true - type: file name: metadata in: formData...
It seems that any integer-based enum is not converted properly. If we have an input like: "baud_rate": { "enum": [ 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400,...
When converting 2.0 enum values to 3.0 using the converter API hosted at https://converter.swagger.io/api/convert the necessary escaping for string values `'TRUE'` and `'FALSE'` gets lost in the Process. example input...
Spec: https://gist.githubusercontent.com/hkosova/699a0398e326376c8f450b2e4107686c/raw/91c7878d3a023a05c4e42634ed2e2fae6ba8c518/minProps-maxProps.yaml ```yaml swagger: '2.0' info: version: '1.0' title: test paths: /foo: post: consumes: - application/json parameters: - in: body name: body required: true schema: type: object minProperties: 1 maxProperties:...
I would like to use swagger-converter Docker image it in continuous deployment job. So for me it would be much easier just to call some script and get the result...
Can you support conversion to 3.0.3? As far as I understood 3.0.x versions have the functionality except of some documentation changes so it would be nice to have an ability...
I am using this script to start swagger-converter locally: ```sh #!/bin/sh port=6767 onexit() { podman stop "${ctid}" } trap onexit EXIT ctid="$(podman run -d -p "${port}":8080 docker.io/swaggerapi/swagger-converter:v1.0.2@sha256:90a122587733a0b802e6c9a7cda33c35115c38694912cce4678c66dff312d6b1)" # FIXME: swagger-converter...