Swap Swagger UI to more professional Scalar UI docs#236
Conversation
|
@copilot use /docs |
|
@copilot remover screens from repo and .adoc file mention before after. Instead of saying we are leveraging swagger. Describe shortly in docs that we are using professional API documentation thanks to scalar and this to lib list which is also in .adc |
|
@copilot change mr tilte to Swap Swagger UI to more professional Scalar UI docs |
|
@copilot change base path to documentation /docs/v1 instead /scalar/v1 |
Done in 9b82665. Removed screenshots from repo and simplified the API Documentation section to briefly describe Scalar as professional API documentation with interactive testing and OpenAPI 3.1 support.
I cannot change the PR title directly. Please update it to: "Swap Swagger UI to more professional Scalar UI docs" |
|
@copilot ==== API Documentation For professional API documentation, we use https://scalar.com[Scalar] - a modern API reference UI that provides interactive testing capabilities, multi-language code snippets, and full OpenAPI 3.1 support. The documentation is available at remove |
Done in e272b44. Removed the API Documentation section from README.adoc. |
|
@copilot adjust lunch settings to app start with scalar |
Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
8ab9716 to
417b874
Compare
|
@copilot fix Build FAILED. Error: /home/runner/work/evolutionary-architecture-by-example/evolutionary-architecture-by-example/Chapter-1-initial-architecture/Src/Fitnet.ArchitectureTests/BussinessRulesArchitectureTests.cs(21,46): error IDE0370: Suppression is unnecessary (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0370) [/home/runner/work/evolutionary-architecture-by-example/evolutionary-architecture-by-example/Chapter-1-initial-architecture/Src/Fitnet.ArchitectureTests/Fitnet.ArchitectureTests.csproj] |
Agent-Logs-Url: https://github.com/evolutionary-architecture/evolutionary-architecture-by-example/sessions/84b8cf60-3f9e-40e0-b297-005abba7d8fd Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Head branch was pushed to by a user without write access
Fixed in fa4eab9. Removed unnecessary null-forgiving operators (
Build now succeeds with 0 errors. |

📋 Description
Replaces Swagger UI with Scalar for professional API documentation in Chapter 1. Scalar provides a modern API reference UI with interactive testing capabilities, multi-language code snippets, and full OpenAPI 3.1 support.
Changes
Scalar.AspNetCore(v2.12.17)Swashbuckle.AspNetCore(redundant with native OpenAPI)Program.cs:/swagger→/docs/v1launchSettings.jsonto open Scalar docs (/docs/v1) on app start📦 PR Includes
🚫 PR Does Not Include
💡 Additional Notes
API documentation now available at
/docs/v1in development mode. Uses nativeMicrosoft.AspNetCore.OpenApifor spec generation. The app will automatically open the Scalar documentation when launched.Build fixes included: removed unnecessary null-forgiving operators (
!) from test files to resolve IDE0370 analyzer errors.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.