swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

Monitoring folders and projects

Open zabpetrus opened this issue 1 year ago • 0 comments

It's not really a problem, but rather a question. I'm creating a project with DDD in Visual Studio and I would like to know if there is a way to make Swagger monitor a certain folder. In this case, I have a class library that is the project's "Model" directory. I wanted Swagger to show class information, but in a way without hassles and without polluting the code. Sorry, I'm a beginner at this! Below, briefly, part of the code structure:

MyProjectSolution │ ├── www │ ├── Pages │ │ ├── Index.cshtml │ │ └── Privacy.cshtml │ │ │ ├── Properties │ │ │ │ │ └── properties.json │ │ │ ├── wwwroot │ │ │ │ │ └── *.css │ │ │ └── Program.cs │ ├─ controller │ ├── Program.cs │ └── WeatherForecast.cs │ ├─ model │ ├── Person.cs └── Products.cs .

  • OS: Windows
  • Browser: any
  • Version: [1.0]
  • Method of installation: via Visual Studio 2022
  • Swagger-UI version: 1.0

thanks

zabpetrus avatar Jan 05 '24 17:01 zabpetrus