Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Report not allowed characters in identifiers #41

Closed
zdne opened this issue Oct 15, 2013 · 5 comments
Closed

Report not allowed characters in identifiers #41

zdne opened this issue Oct 15, 2013 · 5 comments

Comments

@zdne
Copy link
Contributor

zdne commented Oct 15, 2013

Currently only some characters are allowed in API Blueprint identifiers.

If illegal character is used the whole section is silently ignored.

Following blueprint should at least produce a warning about illegal identifier (character ')

# Group Parcel 
## Parcel's sticker [/parcels/{parcel_id}/stickers.json]
@zdne
Copy link
Contributor Author

zdne commented Jan 31, 2014

Also related: #70

@zdne
Copy link
Contributor Author

zdne commented Feb 7, 2014

With #70 resolved this only mean that unexpected characters in identifiers are [, ], ( and ).

E.g:

Group Parc ] el

@pksunkara
Copy link
Contributor

What is needed to be done for this to be closed?

@zdne
Copy link
Contributor Author

zdne commented Sep 26, 2014

Currently a group like this is silently ignored (and treated as a description):

## Group ]A
Hello

To fix this issue the parser should warn that while keyword was find the identifier is not valid. Related issues are #31 and #65 and should be probably solved in one go.

@abtris
Copy link
Contributor

abtris commented Oct 1, 2018

Migrated to apiaryio/drafter#650

@abtris abtris closed this as completed Oct 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants