Skip to content

Commit 7cdbb2a

Browse files
committed
update samples
1 parent bc68056 commit 7cdbb2a

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

samples/client/echo_api/go-external-refs/utils.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/client/others/go/oneof-anyof-required/utils.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/server/petstore/java-camel/src/main/java/org/openapitools/RestConfiguration.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public void configure() throws Exception {
1919
.component("servlet")
2020
.bindingMode(RestBindingMode.auto)
2121
.dataFormatProperty("json.out.disableFeatures", "WRITE_DATES_AS_TIMESTAMPS")
22-
.clientRequestValidation(true);
22+
.clientRequestValidation(true)
23+
.apiProperty("api.title", "OpenAPI Petstore")
24+
.apiProperty("api.version", "1.0.0");
2325
}
24-
}
26+
}

0 commit comments

Comments
 (0)