Skip to content

Commit

Permalink
fix:seperate docs from controller
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasalfiti committed Nov 24, 2023
1 parent a7468e0 commit 74c1301
Show file tree
Hide file tree
Showing 3 changed files with 583 additions and 467 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package org.eclipse.tractusx.managedidentitywallets.apidocs;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.swagger.v3.oas.annotations.media.ExampleObject;
import io.swagger.v3.oas.annotations.Parameter;

public class DidDocumentControllerApiDocs {
@Parameter(description = "Did or BPN", examples = {
@ExampleObject(name = "bpn", value = "BPNL000000000000", description = "bpn"),
@ExampleObject(description = "did", name = "did", value = "did:web:localhost:BPNL000000000000") })
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface DidOrBpnParameterDoc {
}
}
Loading

0 comments on commit 74c1301

Please sign in to comment.