-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from openepcis/EDG-54_number_type_to_custom_us…
…er_extension Edg 54 number type to custom user extension
- Loading branch information
Showing
6 changed files
with
153 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...rator-common/src/main/java/io/openepcis/testdata/generator/template/CustomContextUrl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package io.openepcis.testdata.generator.template; | ||
|
||
import io.quarkus.runtime.annotations.RegisterForReflection; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; | ||
import org.eclipse.microprofile.openapi.annotations.media.Schema; | ||
|
||
import java.io.Serializable; | ||
|
||
@Setter | ||
@Getter | ||
@RegisterForReflection | ||
public class CustomContextUrl implements Serializable { | ||
@Schema( | ||
type = SchemaType.NUMBER, | ||
description = "Unique identifier for the custom context.") | ||
private int ID; | ||
|
||
@Schema( | ||
type = SchemaType.STRING, | ||
description = "URL associated with the custom context.") | ||
private String contextURL; | ||
|
||
@Schema( | ||
type = SchemaType.STRING, | ||
description = "Prefix associated with the custom context URL.") | ||
private String prefix; | ||
|
||
@Schema( | ||
type = SchemaType.BOOLEAN, | ||
description = "Flag indicating whether the custom context should be included in generated events.") | ||
private Boolean isChecked; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters