forked from loafle/openapi-generator-original
[aspnetcore] Added dotnet outdated to READMEs (#12981)
* Added dotnet outdated to READMEs * Update samples
This commit is contained in:
@@ -4,6 +4,32 @@
|
||||
{{{.}}}
|
||||
{{/appDescriptionWithNewLines}}
|
||||
|
||||
## Upgrade NuGet Packages
|
||||
|
||||
NuGet packages get frequently updated.
|
||||
|
||||
To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.
|
||||
|
||||
|
||||
Install dotnet-outdated tool:
|
||||
|
||||
```
|
||||
dotnet tool install --global dotnet-outdated-tool
|
||||
```
|
||||
|
||||
Upgrade only to new minor versions of packages
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade --version-lock Major
|
||||
```
|
||||
|
||||
Upgrade to all new versions of packages (more likely to include breaking API changes)
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade
|
||||
```
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
Linux/OS X:
|
||||
|
||||
@@ -4,6 +4,32 @@
|
||||
{{{.}}}
|
||||
{{/appDescriptionWithNewLines}}
|
||||
|
||||
## Upgrade NuGet Packages
|
||||
|
||||
NuGet packages get frequently updated.
|
||||
|
||||
To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.
|
||||
|
||||
|
||||
Install dotnet-outdated tool:
|
||||
|
||||
```
|
||||
dotnet tool install --global dotnet-outdated-tool
|
||||
```
|
||||
|
||||
Upgrade only to new minor versions of packages
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade --version-lock Major
|
||||
```
|
||||
|
||||
Upgrade to all new versions of packages (more likely to include breaking API changes)
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade
|
||||
```
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
Linux/OS X:
|
||||
|
||||
@@ -4,6 +4,32 @@
|
||||
{{{.}}}
|
||||
{{/appDescriptionWithNewLines}}
|
||||
|
||||
## Upgrade NuGet Packages
|
||||
|
||||
NuGet packages get frequently updated.
|
||||
|
||||
To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.
|
||||
|
||||
|
||||
Install dotnet-outdated tool:
|
||||
|
||||
```
|
||||
dotnet tool install --global dotnet-outdated-tool
|
||||
```
|
||||
|
||||
Upgrade only to new minor versions of packages
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade --version-lock Major
|
||||
```
|
||||
|
||||
Upgrade to all new versions of packages (more likely to include breaking API changes)
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade
|
||||
```
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
Linux/OS X:
|
||||
|
||||
@@ -2,6 +2,32 @@
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
## Upgrade NuGet Packages
|
||||
|
||||
NuGet packages get frequently updated.
|
||||
|
||||
To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.
|
||||
|
||||
|
||||
Install dotnet-outdated tool:
|
||||
|
||||
```
|
||||
dotnet tool install --global dotnet-outdated-tool
|
||||
```
|
||||
|
||||
Upgrade only to new minor versions of packages
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade --version-lock Major
|
||||
```
|
||||
|
||||
Upgrade to all new versions of packages (more likely to include breaking API changes)
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade
|
||||
```
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
Linux/OS X:
|
||||
|
||||
@@ -2,6 +2,32 @@
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
## Upgrade NuGet Packages
|
||||
|
||||
NuGet packages get frequently updated.
|
||||
|
||||
To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.
|
||||
|
||||
|
||||
Install dotnet-outdated tool:
|
||||
|
||||
```
|
||||
dotnet tool install --global dotnet-outdated-tool
|
||||
```
|
||||
|
||||
Upgrade only to new minor versions of packages
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade --version-lock Major
|
||||
```
|
||||
|
||||
Upgrade to all new versions of packages (more likely to include breaking API changes)
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade
|
||||
```
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
Linux/OS X:
|
||||
|
||||
@@ -2,6 +2,32 @@
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
## Upgrade NuGet Packages
|
||||
|
||||
NuGet packages get frequently updated.
|
||||
|
||||
To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.
|
||||
|
||||
|
||||
Install dotnet-outdated tool:
|
||||
|
||||
```
|
||||
dotnet tool install --global dotnet-outdated-tool
|
||||
```
|
||||
|
||||
Upgrade only to new minor versions of packages
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade --version-lock Major
|
||||
```
|
||||
|
||||
Upgrade to all new versions of packages (more likely to include breaking API changes)
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade
|
||||
```
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
Linux/OS X:
|
||||
|
||||
@@ -2,6 +2,32 @@
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
## Upgrade NuGet Packages
|
||||
|
||||
NuGet packages get frequently updated.
|
||||
|
||||
To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.
|
||||
|
||||
|
||||
Install dotnet-outdated tool:
|
||||
|
||||
```
|
||||
dotnet tool install --global dotnet-outdated-tool
|
||||
```
|
||||
|
||||
Upgrade only to new minor versions of packages
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade --version-lock Major
|
||||
```
|
||||
|
||||
Upgrade to all new versions of packages (more likely to include breaking API changes)
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade
|
||||
```
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
Linux/OS X:
|
||||
|
||||
@@ -2,6 +2,32 @@
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
## Upgrade NuGet Packages
|
||||
|
||||
NuGet packages get frequently updated.
|
||||
|
||||
To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.
|
||||
|
||||
|
||||
Install dotnet-outdated tool:
|
||||
|
||||
```
|
||||
dotnet tool install --global dotnet-outdated-tool
|
||||
```
|
||||
|
||||
Upgrade only to new minor versions of packages
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade --version-lock Major
|
||||
```
|
||||
|
||||
Upgrade to all new versions of packages (more likely to include breaking API changes)
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade
|
||||
```
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
Linux/OS X:
|
||||
|
||||
@@ -2,6 +2,32 @@
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
## Upgrade NuGet Packages
|
||||
|
||||
NuGet packages get frequently updated.
|
||||
|
||||
To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.
|
||||
|
||||
|
||||
Install dotnet-outdated tool:
|
||||
|
||||
```
|
||||
dotnet tool install --global dotnet-outdated-tool
|
||||
```
|
||||
|
||||
Upgrade only to new minor versions of packages
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade --version-lock Major
|
||||
```
|
||||
|
||||
Upgrade to all new versions of packages (more likely to include breaking API changes)
|
||||
|
||||
```
|
||||
dotnet outdated --upgrade
|
||||
```
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
Linux/OS X:
|
||||
|
||||
Reference in New Issue
Block a user