Skip to content

Commit

Permalink
Removing unnecessary Optional in SpecItemConfig for type and import m…
Browse files Browse the repository at this point in the history
…appings (quarkiverse#165)
  • Loading branch information
Orbifoldt authored Oct 24, 2022
1 parent 01b18dc commit 1b27115
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ public class SpecItemConfig {
* given OAS datatype (the keys of this map)
*/
@ConfigItem(name = "type-mappings")
public Optional<Map<String, String>> typeMappings;
public Map<String, String> typeMappings;

/**
* Import Mapping is an OpenAPI Generator configuration specifying which Java types (the values) should be
* imported when a given OAS datatype (the keys of this map) is used
*/
@ConfigItem(name = "import-mappings")
public Optional<Map<String, String>> importMappings;
public Map<String, String> importMappings;

/**
* The specified annotations will be added to the generated model files
Expand Down

0 comments on commit 1b27115

Please sign in to comment.