Multiline Strings

Github OpenAPI Example, Block Scalars /feeds: get: # "Folded" Block Scalar description: > List Feeds. GitHub provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticating user. parameters: # Literal Block Scalar - description: | This will preserve any newlines and trailing spaces in: header name: X-GitHub-Media-Type type: string
Quoted /feeds: get: # Doublequoted description: " This will be folded and empty lines create newlines. You can use escapes like \t here" parameters: # Singlequoted - description: ' This will be folded and empty lines create newlines' in: header name: X-GitHub-Media-Type type: string
Slide 8/35 BACK UP NEXT next: ( space / -> / page up ) | previous: ( backspace / <- / page down ) | next page: ( shift + page down ) | previous page: ( shift + page up ) | index: ( arrow-up )