* Update to current version
* cleanup AddSwaggerGen snippets
* moving OpenApiInfo to proper location
* powerapps and flow version note 2.0 example
* annotations update
* annotations edit
* edit pass
* fix note
* update line number
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
* Adds Missing "using" statements
Fixes#13701
References same file as the InfoClassNamespace. I PR'd that file as well. /tutorials/web-api-help-pages-using-swagger/samples/2.0/TodoApi.Swashbuckle/Startup2.cs
* Added CS for missing namespaces
* Replaced relative path with absolute path
For navigating to CS file with missing namespaces.
* Update NSwag URLs to current GitHub location
* Add solution for web-api-help-pages-using-swagger projects
* Bump NSwag and Swashbuckle package versions
- current and next versions
- will need to bump versions again to pick up latest Microsoft-provided features
* React to latest NSwag and Swashbuckle versions
- lots of renames and type changes (especially `string` -> `Uri`) in NSwag
- Swashbuckle now relies on Microsoft.OpenApi.Models
- disable OpenAPI doc generation in other .NET Core 2.0 project
* Remove unused namespaces
- NSwag and Swashbuckle now use common `Startup` namespaces such as Microsoft.AspNetCore.Builder
nit: sort `using`s
* remove extra comma
* Move solution file into samples folder
* Minor tweaks (#12980)
Fixes#9219
@JunTaoLuo Dan calls out the implicit versioning "for 2.1 SDK or later;" however, we don't usually version the doc content by SDK release. We might need to say something for this update in the passage that I'm adding to the All topic (*aspnetcore/fundamentals/metapackage.md*) about which SDK version this applies to. I don't know if that's something that you would like to do or what version to call out.
I also remove the version from the samples. We also assume that devs are using the latest SDK with our samples.
Addresses #8579
I might be getting the hang of **_find and replace_** now. 😝
This doesn't touch a couple that ref 2.2.0. I'll tidy those up on https://github.com/aspnet/Docs/issues/8518 after 2.2 RTM.
* Update Startup.cs
This sample causes a FileNotFoundException with Entity Framework Core Migrations - i.e. when executing "dotnet ef migrations add new", the GetEntryAssembly call returns "ef", and "ef.xml" does not exist in the build folder.
* Update Startup.cs
This sample causes a FileNotFoundException with Entity Framework Core Migrations - i.e. when executing "dotnet ef migrations add new", the GetEntryAssembly call returns "ef", and "ef.xml" does not exist in the build folder.
* Update Swagger tutorials for 2.1
* Improve PMC instructions
* Verbiage tweaks
* Fix code highlighting in NSwag tutorial
* Remove unnecessary screenshots
* Apply 2.1 moniker to Swashbuckle tutorial
* Replace line numbers with region name
* NSwag 2.1 sample app updates
* Update Data annotations section of NSwag doc
* Add tip to NSwag doc
* Minor tweaks
* NSwag doc updates
* Fix API ref links
* Add section for adding API info
* Add sentence to Customize section
* Convert H2 heading to H3
* React to feedback