Giter Site home page Giter Site logo

mermade / openapi-webconverter Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 9.0 390 KB

Mermade Swagger 2.0 to OpenAPI 3.0.0 converter front-end

Home Page: https://mermade.org.uk/openapi-converter

License: BSD 3-Clause "New" or "Revised" License

HTML 26.14% JavaScript 53.90% CSS 19.41% Dockerfile 0.56%
conversion converter online openapi openapi3 swagger

openapi-webconverter's People

Contributors

dependabot[bot] avatar ghostbody avatar mikeralphson avatar szasza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openapi-webconverter's Issues

Fix Content-type

Hi Mike. Great work!
Just a small improvement.

curl -k -i https://openapi-converter.herokuapp.com/api/v1/validate?url=https://openapi3.herokuapp.com:443/api/openapi.json -H
pplication/json"

Returns text/html instead of application/json:

HTTP/1.1 200 OK
Server: Cowboy
Connection: keep-alive
X-Powered-By: Express
Content-Type: text/html; charset=utf-8
Content-Length: 15
Etag: W/"f-NQVRlQfKHCoInEbhALgECMonhCE"
Vary: Accept-Encoding
Date: Wed, 08 Mar 2017 16:53:32 GMT
Via: 1.1 vegur

{"status":true}

POST returns non-JSON payload

Hi Mark,

Great job so far, thank you for maintaining the package.

I would like to flag an issue with the POST validate endpoint. If I send a yaml content with application/json accept header, the response I get back has the header Content-Type: application/json but the response payload is actually not a JSON but a status: true in plain text without curly braces.

Happy to investigate and create a PR as needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.