[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-782) Example 57: choose better example
Ralf Handl created ODATA-782:
--------------------------------
Summary: Example 57: choose better example
Key: ODATA-782
URL: https://issues.oasis-open.org/browse/ODATA-782
Project: OASIS Open Data Protocol (OData) TC
Issue Type: Improvement
Components: OData CSDL
Affects Versions: V4.0_ERRATA02
Reporter: Ralf Handl
Priority: Minor
Fix For: V4.0_ERRATA03
The example is misleading as it places a percent-encoded string into a URL template that looks like an OData URL (parentheses and single quotes around the genreName), yet this would not result in a correct OData URL if the genreName would contain a single quote.
Better use a URL template with non-OData URL syntax, e.g.
http://host/someAPI/Genres/{genreName}/LongDescription
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]