Git Product home page Git Product logo

openapi-action's People

Contributors

nwestfall avatar syncush avatar

Stargazers

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

Watchers

 avatar

openapi-action's Issues

Error when trying to validate openapi spec file

Hello,

Got error when trying to validate open api spec file:

Warning: Unexpected input(s) 'file', valid inputs are ['github_token']
Run nwestfall/[email protected]
(node:8963) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'value' of undefined
    at getAstNodeByPointer (/home/runner/work/_actions/nwestfall/openapi-action/v1.0.1/dist/index.js:2454:34)
    at getLineColLocation (/home/runner/work/_actions/nwestfall/openapi-action/v1.0.1/dist/index.js:2393:21)
    at exec (/home/runner/work/_actions/nwestfall/openapi-action/v1.0.1/dist/index.js:2490:22)
(node:8963) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8963) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Error can be seen here https://github.com/kubeshop/testkube/runs/4005995628?check_suite_focus=true

Action is configured as follows:

    - name: OpenAPI Lint Checks
      uses: nwestfall/[email protected]
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        file: api/v1/testkube.yaml

(or here is path to file: https://github.com/kubeshop/testkube/blob/dcdb3d55ef9eeb30d36716a9c950efa7c0720dfe/.github/workflows/test.yml )

What should I configure to make it work ?

Please publish new version

Hi
i want to use the latest feature on main but with version to relay on (and not nwestfall/openapi-action@main)
can you please release new action version with the new changes (e.g use config file )

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.