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

Fix Escape Character Issues #823

Conversation

ThisaruGuruge
Copy link
Member

Purpose

When a field name, argument name, or type name has escape characters, the generated schema causes problems. This PR will fix those issues.

Fixes: #3069
Fixes: #3067

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec

@codecov
Copy link

codecov bot commented Jul 18, 2022

Codecov Report

Merging #823 (481322f) into master (dc0238e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #823   +/-   ##
=======================================
  Coverage   86.64%   86.64%           
=======================================
  Files          59       59           
  Lines        4379     4379           
  Branches     2377     2377           
=======================================
  Hits         3794     3794           
  Misses        543      543           
  Partials       42       42           
Impacted Files Coverage Δ
ballerina/response_formatter.bal 95.31% <0.00%> (-0.76%) ⬇️
ballerina/websocket_service.bal 100.00% <0.00%> (+2.08%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ff55df...481322f. Read the comment docs.

Co-authored-by: DimuthuMadushan <35717653+DimuthuMadushan@users.noreply.github.com>
@ThisaruGuruge ThisaruGuruge merged commit 9a7a55f into ballerina-platform:master Jul 18, 2022
@ThisaruGuruge ThisaruGuruge deleted the fix-escape-character-issues branch July 18, 2022 12:53
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.

enums with string values causes issues Escape character causes issues e.g. string 'type
3 participants