You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating the OpenAPI document at build time, the OpenAPI version can be selected by setting the `--openapi-version` in the `OpenApiGenerateDocumentsOptions` MSBuild item.
39
39
40
40
```xml
41
-
<!-- Configure build-time OpenAPI generation to produce an OpenAPI 3.0 document. -->
@@ -103,12 +103,14 @@ GET http://localhost:5000/openapi/internal.json
103
103
104
104
### Customize the OpenAPI version of a generated document
105
105
106
-
By default, OpenAPI document generation creates a document that is compliant with [v3.0 of the OpenAPI specification](https://spec.openapis.org/oas/v3.0.0). The following code demonstrates how to modify the default version of the OpenAPI document:
106
+
By default, OpenAPI document generation creates a document that is compliant with
107
+
108
+
[OpenAPI version 3.1](https://spec.openapis.org/oas/v3.1.1.html). The following code demonstrates how to modify the default version of the OpenAPI document:
0 commit comments