-
Notifications
You must be signed in to change notification settings - Fork 3
Create OpenAPI plugin #39
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
Conversation
|
Thanks for the PR @geniegeist, looks great so far. To answer your questions:
I managed to get them running on my machine at least, let me know if stopping anything with a port clash still doesn't help and I can do some digging |
Thanks for your input. I'll create a service asset then and an endpoint asset for each found path object in the openapi spec.
I managed to fix my docker setup. Not sure what the error was 👍. |
f709d8d to
dc64d39
Compare
e7ea4da to
fd3690d
Compare
8602dd4 to
0d8462d
Compare
1348d9e to
9cbca6a
Compare
9aa6065 to
b59a46c
Compare
|
/test e2e |
|
E2E tests ❌ failed. View Run |
|
/test e2e |
|
E2E tests ✅ passed. View Run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks again @geniegeist
Overview
This PR implements an OpenAPI plugin (see #12). It uses libopenapi under the hood to parse the OpenAPI specs; I've used libopenapi in the past (and also made some minor contributions to it), and it is a great library. Let me know if you have concerns.
Features
Serviceasset for each OpenAPI specificationEndpointasset for each operation object found in an OpenAPI specificationOverview
Service Asset
Endpoint Asset
Tests
✅ E2E tests pass on my local machine.
Example
openapi.yamlin the directoryapp/openapi-specs(for example, take the Stripe API)example.yamlfile with the content