Commit Graph

33 Commits (687474b31c6cd67e093db193f2203bdda8536c91)

Author SHA1 Message Date
Genevieve Warren eb11cc3b8d
Clean up product metadata for 2 samples (#29647)
* Update readme.md

* Update readme.md
2023-06-27 15:46:20 -10:00
Alex Buck 167954e87d
[BULK UPDATE] DocuTune - Rebranding links (#27044)
* [BULK UPDATE] DocuTune - Rebranding links

* Update cascading-values-and-parameters.md
2022-09-20 14:37:02 -10:00
Theano Petersen aeb9e52cf8
Update readme.md (#26282)
Fix broken links.
2022-06-30 15:48:22 -10:00
Kirk Larkin 2a5520dc53
Code-fence common file extensions (#25383) 2022-03-23 10:48:44 +00:00
Kirk Larkin 9f63d661cc
Clean-up Swashbuckle (#24150) 2021-12-01 11:50:54 +00:00
Kirk Larkin 9189c0e997
Update Swashbuckle tutorial syntax and 6.0 RTM (#23862) 2021-11-11 11:26:36 +00:00
Kirk Larkin 255a068cad
Update Swashbuckle to 6.0 (#23711)
* Update Swashbuckle to 6.0

* Images and JSON

* Fix use of _static

* Update topic to match code & images

* .
2021-11-02 07:16:30 -10:00
Jonathan 9cc9deab33
Simplify (#23406)
The arguments are optional and not normally required
2021-10-04 09:40:58 -07:00
PascalSenn c9c8460c3c
Fixed Swashbuckle ToDo Example (#22143)
There were two Startup2 classes in the same namespace
2021-04-26 16:31:13 -10:00
Shayne Boyer d87c50609c
Swashbuckle update (#18974)
* 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>
2020-06-26 13:33:40 -05:00
Luke Latham faf0363132
Drop 'decorate'/'decorated' for attribute (#16039) 2019-12-05 15:28:49 -06:00
Jorge Durán 857ebe28c9 update readme removing wrong text (#15736) 2019-11-18 10:23:09 -06:00
David Pine 1abb32ad3d Compressed .PNG image files (#15654) 2019-11-11 10:53:59 -06:00
Scott Addie 0ed167ed20
Replace hard-coded status codes with fields (#15426)
* Replace hard-coded status codes with fields

* more work
2019-10-31 14:08:39 -05:00
Nikita Potapenko dc8f9b7bea Update packages (#14574)
Use GA version
2019-09-25 07:58:43 -10:00
Shayne Boyer 043f160549 Update Get started with Swashbuckle to 3.0 (#13940)
* Update swagger example to 3.0, add sample code

* edits and samples browser version

* fix link to custom ui

* address feedback

* resolving feedback
2019-08-22 15:06:50 -05:00
mattielee a31ffaf347 Adds Missing "using" statements (#13703)
* 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.
2019-08-07 11:34:34 -07:00
Doug Bunting 7c22abea99 Bump NSwag and Swashbuckle package versions (#12950)
* 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)
2019-06-21 15:27:39 -05:00
Tom Dykstra e9a4ef2eec fix package version (#11371) 2019-03-13 11:58:28 -05:00
Dave Brock c9a0137d81 Updates to support NSwag v12 (#10148)
* casing fixes

* image refresh

* Initial changes to NSwag document.

* Added new screenshots

* Last changes to NSwag document.

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>

* Update aspnetcore/tutorials/getting-started-with-NSwag.md

Co-Authored-By: daveabrock <daveabrock@gmail.com>
2019-01-03 14:31:47 -06:00
Rick Anderson 0ee6b101d9
delete map and min files (#9310) 2018-10-31 14:26:48 -10:00
Luke Latham 5704de168e Implicit versioning of the All package (#9223)
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.
2018-10-25 15:16:50 -10:00
Luke Latham 8e6dd4a7f4 Drop version from App package (#8881)
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.
2018-10-06 17:10:28 -10:00
Rico Suter d6ab352542 Use API Explorer based NSwag generator and middlewares (#8572)
- Upgrade NSwag (samples) and use new API Explorer based generators (the reflection based generators are deprecated soon)
- Some text improvements
- Change "Open API" to "OpenAPI" (correct name)
- Use new Swagger UI 3 in samples

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-nswag?view=aspnetcore-2.1&branch=pr-en-us-8572&tabs=visual-studio%2Cvisual-studio-xml)
2018-09-20 11:32:52 -05:00
Luke Latham 46f41d4774
Update All and App package versions (#8513) 2018-09-13 11:39:23 -05:00
Luke Latham 1a0f79a8fe
Update All/App package version (#8489) 2018-09-11 08:53:03 -05:00
Luke Latham 34b33e245b Add version to App package references (#7551)
Fixes #7532
2018-07-10 22:43:09 -05:00
Scott Addie 788f3eb9a5
[WIP] Updates to web API help pages tutorial for XML doc gen (#7385)
Updates to web API help pages tutorial for XML doc gen
2018-06-29 15:20:48 -05:00
Scott Addie 4bad6f3978
Update web API sample apps to 2.1 RTM implicit packageref (#7245)
Addresses https://github.com/aspnet/Docs/issues/7239
2018-06-22 12:52:25 -05:00
Scott Addie 06d5f6cfb5
Fix Swashbuckle tutorial for 1.x apps (#6761)
Addresses https://github.com/aspnet/Docs/issues/6686 (still need to address deployment concerns)
Addresses https://github.com/aspnet/Docs/issues/5495

**Changes**
- Update 2.1 sample app from RC1 to RTM
- Simplify sample app download link markup

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-1.1&branch=pr-en-us-6761#add-and-configure-swagger-middleware)
2018-05-31 20:32:30 -05:00
BusyCoding a32fbb4351 EF Migrations vs. Swashbuckle (#6380)
* 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.
2018-05-12 08:19:20 -05:00
Scott Addie 99b4ad3d1c
Update Swagger tutorials for 2.1 (#6193)
* 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
2018-05-09 14:54:24 -05:00
Scott Addie f8571ffada
Update Web API tutorial's Swashbuckle dependency to 2.x (#5803)
* Update tutorial to Swashbuckle 2.x

* Update the Customize the UI instructions

* React to Acrolinx feedback
2018-03-26 15:50:15 -05:00