GithubHelp home page GithubHelp logo

nulldivision / doctyped Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 743 KB

Swagger-inspired flow model generator

License: MIT License

JavaScript 2.91% TypeScript 93.92% EJS 3.18%
flowtype swagger typescript

doctyped's Issues

Nelmio reader

As a more commonly used API documentation service it seems like a good a time as any to start work on adding Nelmio as a builder submodule

Builder metadata

Built resource interfaces should include metadata as comments for the following information:

  • API documentation URL
  • date generated
  • endpoints where the resource is used

Swagger reader

Swagger API analysis is currently handled by the builder. V2 submodule should:

  • handle analysis requests
  • handle call to API
  • generate standard syntax usable by builder

Refactor reader

Current builder lacks a structure and incorporates all API elements as an after thought. To improve it needs to follow the pattern of:

  • handling incoming requests for API analysis
  • load necessary API analysis submodule

GraphQL reader

Currently GraphQL API analysis is handled by the main builder. Due to how API calls are handled in GraphQL this needs to be separated as a builder submodule in v2 to:

  • handle analysis requests
  • handle call to API
  • generate standard syntax usable by builder

Refactor builder

Current builder is mostly strung together with duct tape. To improve modularity it should adhere to the following:

  • standard input interface
  • modularized output modules for Flow and Typescript
  • easily scalable input interface with minimal backtracking or finding

Supress useless file-not-found error

We're currently letting the error message from local file lookup pass through to cli.

ENOENT: no such file or directory, open 'https://localhost/swagger'
Could not resolve path locally

We should hide the ENOENT error.

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.