-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Docs: how to use OpenAPI connector #4488
Comments
@bajtos @raymondfeng , just wanna confirm with you the requirement of this task before starting to write anything. If we want to call a third party REST API, say the PetStore, we would:
Are they what the right steps? Thanks. |
In the future, we should extend |
I actually tried with
and I ran into error:
Any ideas? |
Let me try again and create a repo if the problem still exists. |
@raymondfeng, looks like the "absolute urls" error still exists. This is my repo: https://github.com/dhmlau/openapi-test2
Then you'll get an error something like:
Thanks! |
Still investigating. Got passed the above error, because it's expecting url in https://github.com/dhmlau/openapi-test2/blob/master/petstore.json#L18 to be in absolute path. But I got a 400 Bad Request error. |
Got it working in https://github.com/dhmlau/openapi-test2.
to
Otherwise, I will get the |
Closing as done. |
@dhmlau am facing issue while creating post, i don't find any proper documentation on how to call post method and how many params we need to send in which param we need to send body data? |
@dhmlau i saw the way you had written in controllers and service file, tried the same in my code but am getting 400 status code error |
As a LoopBack 4 user connecting to a REST service with an OpenAPI description, I would like to leverage loopback-connector-openapi to build an easy-to-use service proxy for me. Unfortunately, there is very little information how to do that.
Acceptance Criteria
Possible structure:
The text was updated successfully, but these errors were encountered: