Skip to content
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: support ESR changes for 254 #6009

Merged
merged 8 commits into from
Jan 17, 2025
Merged

Conversation

CristiCanizales
Copy link
Contributor

What does this PR do?

  • Adjusts the element values needed for ESR metadata for 254/TDX

What issues does this PR fix or reference?

@W-17571126@

@CristiCanizales CristiCanizales self-assigned this Jan 15, 2025
@CristiCanizales CristiCanizales marked this pull request as ready for review January 16, 2025 21:53
@CristiCanizales CristiCanizales requested a review from a team as a code owner January 16, 2025 21:53
@CristiCanizales CristiCanizales requested a review from diyer January 16, 2025 21:53
@@ -203,7 +203,7 @@ export class MetadataOrchestrator {
Ensure no sensitive details are included. Decline requests unrelated to OpenAPI v3 specs or asking for sensitive information.`;

const userPrompt =
'Generate an OpenAPI v3 specification for the following Apex class. The OpenAPI v3 specification should be a YAML file. The paths should be in the format of /{ClassName}/{MethodName} for all the @AuraEnabled methods specified. For every `type: object`, generate a `#/components/schemas` entry for that object. The method should have a $ref entry pointing to the generated `#/components/schemas` entry. Only include methods that have the @AuraEnabled annotation in the paths of the OpenAPI v3 specification. I do not want AUTHOR_PLACEHOLDER in the result.';
'Generate an OpenAPI v3 specification for the following Apex class. The OpenAPI v3 specification should be a YAML file. The paths should be in the format of /{ClassName}/{MethodName} for all the @AuraEnabled methods specified. For every `type: object`, generate a `#/components/schemas` entry for that object. The method should have a $ref entry pointing to the generated `#/components/schemas` entry. Only include methods that have the @AuraEnabled annotation in the paths of the OpenAPI v3 specification. I do not want AUTHOR_PLACEHOLDER in the result. Do not forget info.description property';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to consider asking the LLM for both info.description and description for each OAS entry for a given endpoint.

@CristiCanizales CristiCanizales merged commit a41b501 into feat/apex-oas Jan 17, 2025
6 checks passed
@CristiCanizales CristiCanizales deleted the cristi/apex-rest-esr branch January 17, 2025 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants