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
- Added support for various security schemes including API Key, HTTP Authentication, OAuth 2.0, OpenID Connect, and Mutual TLS.
- Introduced global security requirements that can be applied to all endpoints.
- Enhanced EndpointBuilder to allow setting security requirements at both global and operation levels.
- Created comprehensive tests for security features, including integration tests for complete API scenarios.
- Updated documentation to include detailed explanations of security mechanisms and best practices.
Copy file name to clipboardExpand all lines: docs/components.md
+38-29Lines changed: 38 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
1
# OpenAPI Components
2
2
3
-
Components are a powerful feature in OpenAPI 3.1 that allow you to define reusable objects in your API specification. The Components Object holds various schemas that can be referenced throughout the specification.
3
+
Components are a powerful feature in OpenAPI 3.1 that allow you to define
4
+
reusable objects in your API specification. The Components Object holds various
5
+
schemas that can be referenced throughout the specification.
4
6
5
7
## Available Component Types
6
8
7
9
Yelix OpenAPI supports all component types from the OpenAPI 3.1 specification:
8
10
9
11
-**Schemas**: Reusable schema definitions
10
-
-**Responses**: Reusable response objects
12
+
-**Responses**: Reusable response objects
11
13
-**Parameters**: Reusable parameter objects
12
14
-**Examples**: Reusable examples
13
15
-**RequestBodies**: Reusable request body objects
@@ -19,16 +21,17 @@ Yelix OpenAPI supports all component types from the OpenAPI 3.1 specification:
19
21
20
22
## Adding Components
21
23
22
-
All component methods return a reference object that can be used in other parts of your API specification.
24
+
All component methods return a reference object that can be used in other parts
0 commit comments