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

Bundle the management API context #4466

Closed
wolf4ood opened this issue Sep 10, 2024 · 0 comments · Fixed by #4470
Closed

Bundle the management API context #4466

wolf4ood opened this issue Sep 10, 2024 · 0 comments · Fixed by #4470
Labels
breaking-change Will require manual intervention for version update enhancement New feature or request

Comments

@wolf4ood
Copy link
Contributor

wolf4ood commented Sep 10, 2024

Feature Request

Include the management API JSON-LD context in the ManagementApiConfigurationExtension.

Since it's still experimental, it should be disabled by default and could be activated with a configuration.

Which Areas Would Be Affected?

JSONLD, management API

Why Is the Feature Desired?

improves JSON-LD usability

Solution Proposal

When the management API context is enabled the response should contains a clean @context like this:

"@context": [
            "https://w3id.org/edc/connector/management/v0.0.
 ]

For doing that we should remove defaut namespace registrations and each scope should register the needed namespaces.

This is a breaking change only for people who, when extending EDC uses the JsonLd service and do not specify the scope when compacting. The @vocab and edc prefixes will be removed from the default scope.

@wolf4ood wolf4ood added the enhancement New feature or request label Sep 10, 2024
@github-actions github-actions bot added the triage all new issues awaiting classification label Sep 10, 2024
@wolf4ood wolf4ood added breaking-change Will require manual intervention for version update and removed triage all new issues awaiting classification labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Will require manual intervention for version update enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant