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
feat: DEVPLAN 1.13.10 add OpenAPI document generation via CoreIdent.OpenApi package
Create new CoreIdent.OpenApi project with .NET 10 Microsoft.AspNetCore.OpenApi integration; add service registration and endpoint mapping extensions; configure security schemes, request/response examples, and XML documentation; add OpenAPI validation gate to CI workflow; update Developer_Guide.md and README_Detailed.md with setup instructions and optional Scalar UI integration; complete DEVPLAN 1.13.10 checklist items.
-**OpenAPI** — OpenAPI JSON document generation via `CoreIdent.OpenApi` (no built-in UI)
76
77
77
78
### Coming Next
78
79
@@ -91,6 +92,51 @@ CoreIdent includes passwordless flows:
91
92
92
93
For the SMS OTP endpoint and configuration reference, see the Developer Guide section [4.8 Passwordless SMS OTP](Developer_Guide.md#48-passwordless-sms-otp-feature-13).
93
94
95
+
---
96
+
97
+
## OpenAPI documentation (Feature 1.13.10)
98
+
99
+
CoreIdent can generate an OpenAPI JSON document for all mapped endpoints.
100
+
101
+
-**Document generation**: `CoreIdent.OpenApi` (built on .NET 10 `Microsoft.AspNetCore.OpenApi`)
102
+
-**UI**: host-managed (CoreIdent does not ship Swashbuckle / Swagger UI)
103
+
104
+
### Minimal setup
105
+
106
+
```csharp
107
+
usingCoreIdent.OpenApi.Extensions;
108
+
109
+
builder.Services.AddCoreIdentOpenApi(options=>
110
+
{
111
+
options.DocumentTitle="CoreIdent API";
112
+
options.DocumentVersion="v1";
113
+
options.OpenApiRoute="/openapi/v1.json";
114
+
});
115
+
116
+
varapp=builder.Build();
117
+
118
+
app.MapCoreIdentEndpoints();
119
+
app.MapCoreIdentOpenApi();
120
+
```
121
+
122
+
### Optional UI (Scalar)
123
+
124
+
In the host app:
125
+
126
+
```bash
127
+
dotnet add package Scalar.AspNetCore
128
+
```
129
+
130
+
Then:
131
+
132
+
```csharp
133
+
usingScalar.AspNetCore;
134
+
135
+
app.MapCoreIdentOpenApi();
136
+
app.MapScalarApiReference();
137
+
```
138
+
139
+
94
140
## Documentation
95
141
96
142
All planning and technical documentation is in the [`docs/`](./) folder:
0 commit comments