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

Action to validate a definition using parser cli #1774

Merged
merged 15 commits into from
Sep 25, 2022
Merged

Action to validate a definition using parser cli #1774

merged 15 commits into from
Sep 25, 2022

Conversation

gracekarina
Copy link
Contributor

Action to validate a definition using parser cli

run: java -version
shell: bash
- name: Build Java
if: steps.java-version == null
Copy link
Member

Choose a reason for hiding this comment

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

we need at least java 8, this should be checked

Copy link
Member

@frantuma frantuma left a comment

Choose a reason for hiding this comment

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

Are the json/yaml options available in the action?

@@ -0,0 +1,34 @@
name: 'Swagger Parser CLI'
description: 'Uses swagger parser CLI to allow validation of a definition'
Copy link
Member

Choose a reason for hiding this comment

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

change to "Parses, validates, dereferences an OpenAPI definition"

@@ -0,0 +1,34 @@
name: 'Swagger Parser CLI'
Copy link
Member

Choose a reason for hiding this comment

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

change to "Swagger Parser"

description: 'Uses swagger parser CLI to allow validation of a definition'
inputs:
inputSpec:
description: 'file of the openapi definition'
Copy link
Member

Choose a reason for hiding this comment

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

path to OpenAPI definition file

description: 'parser options'
required: false
logsPath:
description: 'file of the logs messages or errors'
Copy link
Member

Choose a reason for hiding this comment

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

path to validation result file

description: 'file of the logs messages or errors'
required: true
parserSpecPath:
description: 'path where a file can be found with parsed definition'
Copy link
Member

Choose a reason for hiding this comment

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

output path of the serialized parsed definition

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.

None yet

2 participants