Created
January 22, 2021 07:15
-
-
Save bradygaster/ab914e2b07b0fc984216776f750644de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
az apim api import --specification-format Swagger | |
--subscription-required false | |
--path "recipes/v1" | |
--resource-group RecipeApiGroup | |
--service-name recipe-apis | |
--api-id RecipeApi | |
--service-url "https://recipe-api-host.azurewebsites.net" | |
--specification-path "/home/runner/work/Recipe-Api/Recipe-Api/RecipeApi/bin/Release/net5.0/swagger.json" | |
dotnet swagger tofile --output [output] [startupassembly] [swaggerdoc] | |
dotnet swagger tofile --output "/home/runner/work/Recipe-Api/Recipe-Api/RecipeApi/bin/Release/net5.0/win-x86/swagger.json" "/home/runner/work/Recipe-Api/Recipe-Api/RecipeApi/bin/Release/net5.0/win-x86/RecipeApi.dll" v1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment