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
LPS-134123 Hide ObjectEntry in Object APIs and replace it with the entity name #1166
LPS-134123 Hide ObjectEntry in Object APIs and replace it with the entity name #1166
Conversation
…tEntry:), parameters (“/objectEntryId”), tags ([“ObjectEntry”]), parameters inside operations (parameters: objectEntry), bodies (content: “#components/ObjectEntry”), responses (“response: ObjectEntry”) and properties (items: ObjectEntry)
CI is automatically triggering the following test suites:
|
✔️ ci:test:sf - 1 out of 1 jobs passed in 3 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPS-134123_openapi 1 Successful Jobs:For more details click here. |
Jenkins Build:test-portal-source-format#1283 Jenkins Report:jenkins-report.html Jenkins Suite:sf Pull Request:liferay-frontend#1166 Testray Routine:EE Pull Request Testray Importer:publish-testray-report#3828 |
Jenkins Build:test-portal-acceptance-pullrequest(master)#1460 Jenkins Report:jenkins-report.html Jenkins Suite:relevant Pull Request:liferay-frontend#1166 Testray Routine:EE Pull Request Testray Build:[master] ci:test:relevant - nhpatt > liferay-frontend - PR#1166 - 2021-06-16[10:46:27] Testray Importer:publish-testray-report#3852 |
Good to know that Swagger lib provides mechanisms to modify the method definitions 🙂 |
ci:forward |
CI is automatically triggering the following test suites:
The pull request will automatically be forwarded to the user
|
Skipping previously passed test suites: |
All required test suite(s) passed. |
Pull request has been successfully forwarded to brianchandotcom#103304 |
Renaming all appearances of
ObjectEntry
in the generated OpenAPI. It's not pretty, a lot of code for just hiding an internal concept.It can also be done with a ModelConverter but those are registered in a singleton and will affect all deployed APIs. The rest of the extension options can not be used in an OSGi world because they require control of instantiation and we can't pass parameters.
Response is now:
XML and className are needed for batch/talend