-
Notifications
You must be signed in to change notification settings - Fork 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
feat(sdk): provide a way to request a custom URL and add apiName in request plugin context #1578
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit b5c1252. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
2202aa8
to
efb43b3
Compare
efb43b3
to
15e1a6c
Compare
37e3928
to
a1fc7e4
Compare
623d0f1
to
805c9bc
Compare
feat(sdk): add apiName in the request plugin context
805c9bc
to
492ae01
Compare
* @param specification Specification single object to parse | ||
*/ | ||
// eslint-disable-next-line camelcase | ||
export const generateOperationFinderFromSingleFile = (specification: OpenAPIV2.Document | OpenAPIV3.Document | OpenAPIV3_1.Document): PathObject[] => { |
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.
Created #1699 to handle complex path resolution
## Proposed change <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that is required for this change. --> ## Related issues - 🐛 Fixes #(issue) - 🚀 Feature #(issue) <!-- Please make sure to follow the contributing guidelines on https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md --> cherry-pick from #1578
Proposed change
feat(sdk): provide a way to request a custom URL
feat(sdk): add apiName in the request plugin context
The purpose of this PR is to offer a way to do manually a request in the context of the SDK and benefit of the plugins register.
To facilitate the identification of the request in the requestPlugin (as done in the replyPlugin), the context is provided to the request plugin.