Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make basepath and route prefix before operation optional #18

Merged

Conversation

LockTar
Copy link
Contributor

@LockTar LockTar commented Oct 30, 2019

Add extra options to make the basepath in a swagger document optional.
Also add extra option to not to prepand the operations with the route prefix.

These options are needed for if you want to expose your function app into api management.

Use them as follow:

"Swashbuckle": {
  "PrepandOperationWithRoutePrefix": false,
  "FillSwaggerBasePathWithRoutePrefix": true
}

Copy link
Owner

@yuka1984 yuka1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please eliminate confrict.

@LockTar
Copy link
Contributor Author

LockTar commented Nov 18, 2019

Will do

@LockTar
Copy link
Contributor Author

LockTar commented Nov 19, 2019

Merged, conflict is gone

@yuka1984 yuka1984 merged commit 159797e into yuka1984:master Dec 14, 2019
Copy link
Owner

@yuka1984 yuka1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yuka1984 yuka1984 added this to the ver 1.4.4 milestone Dec 14, 2019
stewart-r pushed a commit to search-laboratory/azure-functions-extensions-swashbuckle that referenced this pull request Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants