Skip to content

Commit

Permalink
Change openapi annotation in to read only.
Browse files Browse the repository at this point in the history
  • Loading branch information
lnash94 committed Jun 20, 2024
1 parent fc2bff3 commit 1d3cf57
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions module-ballerina-openapi/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
org= "ballerina"
name= "openapi"
version= "@toml.version@"
version= "2.1.0"

[[platform.java17.dependency]]
path = "../openapi-validator/build/libs/openapi-validator-@project.version@.jar"
path = "../openapi-validator/build/libs/openapi-validator-2.1.0-SNAPSHOT.jar"
groupId = "ballerina"
artifactId = "openapi"
version = "@project.version@"
version = "2.1.0-SNAPSHOT"
4 changes: 2 additions & 2 deletions module-ballerina-openapi/CompilerPlugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id = "openapi-tools"
class = "io.ballerina.openapi.validator.OpenAPIValidatorPlugin"

[[dependency]]
path = "../openapi-validator/build/libs/openapi-validator-@project.version@.jar"
path = "../openapi-validator/build/libs/openapi-validator-2.1.0-SNAPSHOT.jar"
groupId = "ballerina"
artifactId = "openapi"
version = "@project.version@"
version = "2.1.0-SNAPSHOT"
2 changes: 1 addition & 1 deletion module-ballerina-openapi/annotation.bal
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public type RequestExamples map<anydata>;
#
# + response - Response examples
# + requestBody - Request examples
public type Examples record {|
public type Examples readonly & record {|
map<ResponseExample> response?;
RequestExamples requestBody?;
|};
Expand Down

0 comments on commit 1d3cf57

Please sign in to comment.