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

added logic for newlines in comments for operation descriptions only #8463

Merged
merged 2 commits into from
Jul 23, 2018

Conversation

john-french
Copy link
Contributor

@john-french john-french commented Jul 20, 2018

Allow "safe" preservation of newlines in asp.net-generated code. This is because markdown formatting is lost during the sanitization of descriptions.

@john-french john-french force-pushed the newlineInCommentsCSharp branch 2 times, most recently from 0fdd319 to 2aea23e Compare July 20, 2018 15:01
@@ -10,7 +10,8 @@
public static final String PACKAGE_NAME_VALUE = "swagger_server_aspnetcore";
public static final String PACKAGE_VERSION_VALUE = "1.0.0-SNAPSHOT";
public static final String SOURCE_FOLDER_VALUE = "src_aspnetcore";

public static final boolean PRESERVE_NEW_LINES = false;

Copy link
Member

Choose a reason for hiding this comment

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

Could you replace all tabs with spaces in affected files (we have a CI check for that)?

@frantuma frantuma merged commit 695e819 into swagger-api:master Jul 23, 2018
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.

3 participants