Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(openapi): license presence check #2589

Merged
merged 1 commit into from
Aug 5, 2023

Conversation

petermetz
Copy link
Contributor

  1. Adds a custom check that ensures that all the properties of the
    license object are specified (name, identifier, url).
  2. Optimized the custom-check that verifies the opan API json specs so
    that it ignores **/node_modules/ not just node_modules (meaning that it
    was only excluding the root dir not all sub-dirs of the packages as well)

Fixes #490

Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com

Copy link
Contributor

@jagpreetsinghsasan jagpreetsinghsasan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

1. Adds a custom check that ensures that all the properties of the
license object are specified (name, identifier, url).
2. Optimized the custom-check that verifies the opan API json specs so
that it ignores **/node_modules/ not just node_modules (meaning that it
was only excluding the root dir not all sub-dirs of the packages as well)

Fixes hyperledger-cacti#490

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
@petermetz petermetz merged commit e7db966 into hyperledger-cacti:main Aug 5, 2023
104 of 117 checks passed
@petermetz petermetz deleted the petermetz/issue490 branch August 5, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build(openapi): license presence check
3 participants