Giter Site home page Giter Site logo

paw-openapi3generator's Introduction

OpenAPI 3.0 Generator for Paw

A Paw Extension to export OpenAPI files from Paw.

How to use?

  1. In Paw, go to File menu, then Export -> All Requests -> OpenAPI 3.0 Generator
  2. Save to a file (probably *.json format, but it might be changed to *.yaml)
  3. Import file in Swagger (You can check file e.g. at here)

#Development notes

  1. To create "realtime" development environment feel, You can use npm run watch command and in Paw choose "OpenAPI 3.0 Generator" as a preview mode. Extension will be refreshed (built + copied to Paw) each time any *.ts file in "src/**/*.ts" has been changed.
  2. In Paw -> "Window" -> "Extension console" is the console where You have access to debugging console
  3. To use console.log and console.error function it is recommended to use Console class from src/lib. Standard console.log outputs object as [object Object] while Console.log will output stringified version of object
  4. Cookies cannot be exported, because "Session" is no available in Generator Extensions (for now)
  5. AuthConverter allows 1 authorization at a time -> this converter needs to be changed, if multiple authorization per request is allowed

License

This Paw Extension is released under the MIT License. Feel free to fork, and modify!

Copyright © 2014-2020 Paw

paw-openapi3generator's People

Contributors

wch-kamil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

paw-openapi3generator's Issues

Marked as Official but is still in beta

Hi,

Do you have any roadmap or plan to finish (or maintain at all) this extension?

I've paid for Paw before the fusion, now I have RapidAPI (which is free now) but I was paying for it as it had great features and an awesome UI. The latter still applies, however, I can not tell the same about the former one.

This is marked as "Official" (https://paw.cloud/extensions/OpenAPI3Generator), however, this repo has not been touched for a while and is still in beta.

image

For example, exploit has Boolean type, severity has enum list, but everything is String in generated docs. description is also empty everywhere. And so on. This is now far from good.

Can we expect this package to be finished or not?
Or, maybe, I'm doing something wrong. What did I miss?

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.