Comments (6)
I believe this is related to apiaryio/api-blueprint#69
from drafter.
@Neamar I think @
is only allowed as %40
. This makes things a bit complicated as we have to decide where and who should encode the special character.
This is currently a bit in limbo. I agree that for users, @
should be allowed as it is, but in case of some characters, it may lead to ambiguous interpretations of a resource.
However, for now, there is a problem with precent-encoded values as well. I do think those should be fixed as well -- in spec as well in snowcrash.
from drafter.
Ok. So for now, there is no workarounds ? :(
On Mon, Mar 24, 2014 at 3:24 PM, Almad [email protected] wrote:
@Neamar https://github.com/Neamar I think @ is only allowed as %40.
This makes things a bit complicated as we have to decide where and who
should encode the special character.This is currently a bit in limbo. I agree that for users, @ should be
allowed as it is, but in case of some characters, it may lead to ambiguous
interpretations of a resource.However, for now, there is a problem with precent-encoded values as well.
I do think those should be fixed as well -- in spec as well in snowcrash.Reply to this email directly or view it on GitHubhttps://github.com/apiaryio/snowcrash/issues/90#issuecomment-38449993
.
from drafter.
This is a good question
Currently a parameter identifier is expected to conform to:
#define PARAMETER_IDENTIFIER "([[:alnum:]_.-]+)"
But as of RFC 6570 variables it should be:
varname = varchar *( ["."] varchar )
varchar = ALPHA / DIGIT / "_" / pct-encoded
This is a bug and should be fixed in Snow Crash. An explicit note on URI template variables might be added to API Blueprint spec (most likely 1B).
from drafter.
from drafter.
To be addressed with apiaryio/snowcrash#61
from drafter.
Related Issues (20)
- Missing resource name renders incorrect output but it is validated
- Confusing AST for enum examples HOT 4
- Compatibility with MSVC 2019 HOT 1
- Building drafter-cli causes a link "warning" (macOS)
- Duplicit value in enumeration HOT 2
- Missing description after wrongly interpreted MSON `enum[string], fixed`
- PEGTL not fixed to specific version HOT 1
- Drafter backend crashes on unexpanded `Include (object)` HOT 1
- sigsegv
- Include Drafter version in ABI HOT 2
- Parser emits that `false` is not allowed boolean type for default HOT 1
- Ninja can no longer build due to cycling input HOT 2
- Drafter version does not work for CMake builds
- Docker hub entry outdated HOT 1
- Distinct OneOf gets parsed as single OneOf group in schema HOT 5
- Fixed array with a mixin inside produces incorrect json schema
- Building drafter is painfully slow. HOT 3
- Drafter for Java
- Compile error with newer gcc
- [build] CMake build on RHEL 9 is missing libraries HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drafter.