{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3436","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3436/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3436/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3436/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/3436","id":166943409,"number":3436,"title":"Formatting not getting reflected when converting yaml file to HTML in swagger online editor","user":{"login":"webron","id":241629,"avatar_url":"https://avatars.githubusercontent.com/u/241629?v=3","gravatar_id":"","url":"https://api.github.com/users/webron","html_url":"https://github.com/webron","followers_url":"https://api.github.com/users/webron/followers","following_url":"https://api.github.com/users/webron/following{/other_user}","gists_url":"https://api.github.com/users/webron/gists{/gist_id}","starred_url":"https://api.github.com/users/webron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webron/subscriptions","organizations_url":"https://api.github.com/users/webron/orgs","repos_url":"https://api.github.com/users/webron/repos","events_url":"https://api.github.com/users/webron/events{/privacy}","received_events_url":"https://api.github.com/users/webron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Client:%20HTML","name":"Client: HTML","color":"fad8c7"},{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Enhancement:%20Feature","name":"Enhancement: Feature","color":"e5ffe5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/11","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.2.1","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/11/labels","id":1794308,"number":11,"title":"v2.2.1","description":"","creator":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"open_issues":210,"closed_issues":48,"state":"open","created_at":"2016-05-29T08:58:06Z","updated_at":"2016-07-22T08:31:59Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-07-21T23:54:08Z","updated_at":"2016-07-22T14:36:55Z","closed_at":null,"body":"_From @Rasika3091 on July 21, 2016 14:46_\n\n* Version: Swagger editor online\r\n* Browser/OS:  Chrome, Windows 10\r\n\r\nHello,\r\n\r\nI am converting my yaml file to HMTL through the swagger editor online. But the formatting applied in the descriptions are not getting applied. Its not looking proper as seen in the editor. I have provided on example. Please open it in Online swagger editor and covert it to HTML and take a look at all the description parts.\r\n\r\n\r\n\r\n```yaml\r\nswagger: \"2.0\"\r\ninfo:\r\n  version: \"0.0.1\"\r\n  title: Hello World App\r\n  description: |\r\n               Description for test :\r\n               \r\n               ###### Types :\r\n               \r\n               ```\r\n                  1) Standard Fields\r\n                  2) Custom Fields\r\n                  3) Old Fields\r\n               ```\r\n               \r\n               ###### JSON structure :\r\n               \r\n               ```\r\n               {\"standardFields\":\r\n                   [\r\n                     {\"id\":Provide field Id,\r\n                      \"value\":Provide value for that standard field}\r\n                  ]\r\n               }\r\n               ```\r\n               \r\n# during dev, should point to your local machine\r\nhost: localhost:10010\r\n# basePath prefixes all resource paths \r\nbasePath: /\r\n# \r\nschemes:\r\n  # tip: remove http to make production-grade\r\n  - http\r\n  - https\r\n# format of bodies a client can send (Content-Type)\r\nconsumes:\r\n  - application/json\r\n# format of the responses to the client (Accepts)\r\nproduces:\r\n  - application/json\r\npaths:\r\n  /hello:\r\n      # binds a127 app logic to a route\r\n      x-swagger-router-controller: hello_world\r\n      get:\r\n        description: |\r\n                     Returns 'Hello' to the caller\r\n                     \r\n                     ###### Access\r\n                     \r\n                     - New user\r\n                     - Updated User\r\n        operationId: hello\r\n        parameters:\r\n          - name: name\r\n            in: query\r\n            description: The name of the person to whom to say hello\r\n            required: false\r\n            type: string\r\n          - name: id\r\n            in: query\r\n            description: Id required\r\n            required: true\r\n            type: string\r\n        responses:\r\n          \"200\":\r\n            description: Success\r\n            schema:\r\n              # a pointer to a definition\r\n              $ref: \"#/definitions/HelloWorldResponse\"\r\n          # responses may fall through to errors\r\n          default:\r\n            description: Error\r\n            schema:\r\n              $ref: \"#/definitions/ErrorResponse\"\r\n  /swagger:\r\n    x-swagger-pipe: swagger_raw\r\n  /getName:\r\n     get:\r\n       description: |\r\n                    Get name\r\n                    \r\n                    ###### Access\r\n                     \r\n                     - New user\r\n                     - Updated User\r\n       parameters:\r\n          - name: name\r\n            in: query\r\n            description: The name of the person to whom to say hello\r\n            required: false\r\n            type: string\r\n          - name: id\r\n            in: query\r\n            description: Id required\r\n            required: true\r\n            type: string\r\n       responses:\r\n          \"200\":\r\n            description: Success\r\n            schema:\r\n              # a pointer to a definition\r\n              $ref: \"#/definitions/HelloWorldResponse\"\r\n          # responses may fall through to errors\r\n          default:\r\n            description: Error\r\n            schema:\r\n              $ref: \"#/definitions/ErrorResponse\"\r\n  /getDescription:\r\n     get:\r\n       description: |\r\n                    Get description\r\n                    \r\n                    ###### Access\r\n                     \r\n                     - New user\r\n                     - Updated User\r\n       parameters:\r\n          - name: name\r\n            in: query\r\n            description: The name of the person to whom to say hello\r\n            required: false\r\n            type: string\r\n          - name: id\r\n            in: query\r\n            description: Id required\r\n            required: true\r\n            type: string\r\n       responses:\r\n          \"200\":\r\n            description: Success\r\n            schema:\r\n              # a pointer to a definition\r\n              $ref: \"#/definitions/HelloWorldResponse\"\r\n          # responses may fall through to errors\r\n          default:\r\n            description: Error\r\n            schema:\r\n              $ref: \"#/definitions/ErrorResponse\"            \r\n     \r\n# complex objects have schema definitions\r\ndefinitions:\r\n  HelloWorldResponse:\r\n    required:\r\n      - message\r\n    properties:\r\n      message:\r\n        type: string\r\n  ErrorResponse:\r\n    required:\r\n      - message\r\n    properties:\r\n      message:\r\n        type: string\r\n\r\n```\r\n\r\nThere is no formatting in the HTML file for description. How can I make this work ?\r\n\r\nI am attaching the html document . Please take a look. Its urgent. I have to convert my documentation to HTML.\r\n\r\n[Html.zip](https://github.com/swagger-api/swagger-editor/files/376290/Html.zip)\r\n\n\n_Copied from original issue: swagger-api/swagger-editor#1016_"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/234561186","html_url":"https://github.com/swagger-api/swagger-codegen/issues/3436#issuecomment-234561186","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3436","id":234561186,"user":{"login":"Rasika3091","id":20454286,"avatar_url":"https://avatars.githubusercontent.com/u/20454286?v=3","gravatar_id":"","url":"https://api.github.com/users/Rasika3091","html_url":"https://github.com/Rasika3091","followers_url":"https://api.github.com/users/Rasika3091/followers","following_url":"https://api.github.com/users/Rasika3091/following{/other_user}","gists_url":"https://api.github.com/users/Rasika3091/gists{/gist_id}","starred_url":"https://api.github.com/users/Rasika3091/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rasika3091/subscriptions","organizations_url":"https://api.github.com/users/Rasika3091/orgs","repos_url":"https://api.github.com/users/Rasika3091/repos","events_url":"https://api.github.com/users/Rasika3091/events{/privacy}","received_events_url":"https://api.github.com/users/Rasika3091/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T14:36:55Z","updated_at":"2016-07-22T14:36:55Z","body":"Ok.. Then right now you cannot make changes for it ?\r\n"}}
{"actor":{"display_login":"Rasika3091"}}