Skip to content

Commit

Permalink
docs(api): fix secrets api doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed May 22, 2024
1 parent b39e532 commit 9de095b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import static org.eclipse.edc.jsonld.spi.JsonLdKeywords.ID;
import static org.eclipse.edc.jsonld.spi.JsonLdKeywords.TYPE;
import static org.eclipse.edc.spi.types.domain.secret.Secret.EDC_SECRET_TYPE;
import static org.eclipse.edc.spi.types.domain.secret.Secret.EDC_SECRET_VALUE;

@OpenAPIDefinition(
info = @Info(description = "This contains the secret management API, which allows to add, remove and update secrets in the Vault.", title = "Secret API"))
Expand Down Expand Up @@ -94,7 +93,7 @@ record SecretInputSchema(
String id,
@Schema(name = TYPE, example = EDC_SECRET_TYPE)
String type,
@Schema(name = EDC_SECRET_VALUE, requiredMode = REQUIRED)
@Schema(requiredMode = REQUIRED)
String value
) {
public static final String SECRET_INPUT_EXAMPLE = """
Expand All @@ -113,7 +112,7 @@ record SecretOutputSchema(
String id,
@Schema(name = TYPE, example = EDC_SECRET_TYPE)
String type,
@Schema(name = EDC_SECRET_VALUE, requiredMode = REQUIRED)
@Schema(requiredMode = REQUIRED)
String value
) {
public static final String SECRET_OUTPUT_EXAMPLE = """
Expand Down

0 comments on commit 9de095b

Please sign in to comment.