drafter
drafter copied to clipboard
API Blueprint Parser (C++)
@zdne opened apiaryio/snowcrash#269 Following resource is silently ignored ``` # Resource [path/to/resource] ... ``` Missing the leading `/` often leads to confusion later. Parser should warn about possible URIs.
@honzajavorek opened apiaryio/snowcrash#286 ### Protagonist version `"protagonist-experimental": "0.18.2"` ### MSON Specs https://github.com/apiaryio/mson/blob/master/MSON%20Specification.md#44-sample ### Example MSON (copy pasted from specs) ``` markdown - list: *3, 4* (enum) ``` ### Result of...
@klokane opened apiaryio/snowcrash#327 according to MSON spec: https://github.com/apiaryio/mson/blob/master/MSON%20Specification.md#44-sample ``` - list: 3, 4 (enum, sample) ``` Is equivalent to: ``` - list: *3, 4* (enum) ``` but if you sent...
@klokane opened apiaryio/snowcrash#330 in MSON spec 4.1.2 https://github.com/apiaryio/mson/blob/master/MSON%20Specification.md#421-member-type-separator is written: ``` Member Type Separator → Items | Members | Properties Array Structures - MUST use Items for a Member Type...
@klokane opened apiaryio/snowcrash#331 there should be added _warning_ about empty `sample` ``` md # # Data Structures ## User (object) - a (array) - sample ```
@Almad opened apiaryio/snowcrash#334 Warnings are confusing if method name is not written all-CAPS and therefore not recognised. Snowcrash should recognise the line (be case-insensitive) and issue a warning. Fore more...
@klokane opened apiaryio/snowcrash#355 As say Blueprint specification: https://github.com/apiaryio/api-blueprint/blob/master/API%20Blueprint%20Specification.md#def-uriparameters-section ``` Members is the optional enumeration of possible values. should be surrounded by enum[] if this is present. For example, if enumeration...
@jonatron opened apiaryio/snowcrash#370 I had a non breaking space (0xA0) in my apib file after a # in a heading, and it was very hard to find out that it...
@kylef opened apiaryio/snowcrash#378 Given the following example: ``` apib ## Data Structures ### datetime (string) An ISO8601 formatted date. #### Sample 2015-10-15T13:21:09Z ``` Where we have a sample value of...
@goganchic opened apiaryio/snowcrash#438 Recently I've found such test https://github.com/apiaryio/snowcrash/blob/master/test/test-ResourceGroupParser.cc#L103-L133 It tries to process such apib with resource group parser: ```apib # Group ## /r1 p1 ## /r2 p2 ``` This...