Skip to content

Commit 9f40160

Browse files
- Thought expt.
1 parent 891ae7f commit 9f40160

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/CICD.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ In lieu of a full implementation of [github actions best practices](https://secu
1515
- Pull request checks use [the pull_request event](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request), as per [best practices](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/).
1616
- Integration test steps, which require secrets, leverage [the github context](https://docs.github.com/en/actions/learn-github-actions/contexts#github-context) to avoid running where secrets are absent.
1717
- Therefore, external fork PRs, which are the community contribution model, do not run integration tests. Strategically, we may funnel community contribution though a staging branch and/or adopt release branches. This is not an urgent consideration, and we shall decide after some reflection.
18+
19+
## API mocking
20+
21+
According to [this swagger-codegen example](https://github.com/swagger-api/swagger-codegen/blob/master/bin/python-flask-petstore.sh), it is not overly difficult to generate python mocks from openapi docs. This can then be used for credible regression testing against new provider docs and certainly the relationship of endpoints to stackql resources. Know weakness: will not detect defective transform from source (eg: MS-graph, AWS) top aponapi.

0 commit comments

Comments
 (0)