Skip to content

Conversation

afritzler
Copy link
Member

@afritzler afritzler commented Aug 24, 2023

Proposed Changes

Run the openapi-extrator in the sample folder an ensure a test extraction against a real api-server.

@afritzler afritzler requested a review from a team as a code owner August 24, 2023 14:56
@afritzler afritzler changed the title ci: add OpenAPI Test workflow to validate API extraction Add OpenAPI Test workflow to validate API extraction Aug 24, 2023
@github-actions github-actions bot added size/M enhancement New feature or request labels Aug 24, 2023
@afritzler afritzler force-pushed the enh/add-openapi-extration-workflow branch 8 times, most recently from f62995d to fd93470 Compare August 24, 2023 15:53
- Add a new file `.github/workflows/openapi_test.yml`
- Define a workflow named `OpenAPI Test`
- Set the trigger for the workflow to `pull_request` events
- Exclude specific paths from the trigger
- Define a job named `test_openapi_extraction`
- Set the runner for the job to `ubuntu-latest`
- Add steps to checkout the repository, setup Go environment, build the project, and get the `onmetal-api` repository
- Run the `openapi-extractor` tool with specific options
- Check if `swagger.json` and `v3` directory exist and list files in `v3` directory
- Check if each `json` file in the `v3` directory is not empty

Signed-off-by: Andreas Fritzler <andreas.fritzler@sap.com>
@afritzler afritzler force-pushed the enh/add-openapi-extration-workflow branch from fd93470 to 6343a73 Compare August 24, 2023 15:58
@github-actions github-actions bot added size/XXL and removed size/M labels Aug 25, 2023
@afritzler afritzler merged commit 9edcfbf into main Aug 25, 2023
@afritzler afritzler deleted the enh/add-openapi-extration-workflow branch August 25, 2023 11:30
@hardikdr hardikdr added the area/iaas Issues related to IronCore IaaS development. label Jun 26, 2025
@hardikdr hardikdr added this to Roadmap Jun 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/iaas Issues related to IronCore IaaS development. enhancement New feature or request size/XXL

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants