Comments (3)
Yes, traits can absolutely be applied within resourceTypes. Here's an
example:
http://static-anypoint-mulesoft-com.s3.amazonaws.com/API_examples_notebooks/raml-design2.html
On Jul 30, 2014 4:15 PM, "eliaslevy" [email protected] wrote:
The spec is silent on whether traits can be used within resource types,
either at the resource type level or the method level within a resource
type definition. None of the examples show this usage, but there doesn't
seem to be any reason why it would not be valid and it would certainly be
useful when composing resource types.—
Reply to this email directly or view it on GitHub
#66.
from raml-spec.
Excellent. Thanks. You may want to make this explicit in the spec.
from raml-spec.
Thanks, good feedback.
On Aug 1, 2014 10:39 AM, "eliaslevy" [email protected] wrote:
Excellent. Thanks. You may want to make this explicit in the spec.
—
Reply to this email directly or view it on GitHub
#66 (comment).
from raml-spec.
Related Issues (20)
- Minor issues in RAML 1.0 doc HOT 1
- RAML 1.0.1 patch
- Ramm
- [Question] How to specify a facet for a nullable type?
- date/time types need support for a sysdate or now default value.
- Add ability to have constants
- Resource parameter default values
- Resource Parameter Conditional Processing
- Clarification on 'type' facet usage HOT 1
- What is the raml code for this? Students: [ { Name: Amritha } { Name: Anagha } ] HOT 1
- Proposal: support type-specification on ?merge tags? (e.g. like {traitName: {<<!string tagName>>}})
- api-model.json is too big in size almost 9 MB HOT 1
- Ambiguous/wrong example of union in Query String section HOT 1
- Change default branch from master to main as per new Guidelines HOT 1
- OAuth 2.0 - Showing 'accessTokenUri: the value has invalid scheme'
- Ability to define wellknown objects in RAML HOT 1
- A reusable 'pageable' trait that can allow reuse of query parameters and result
- HATEOAS isn't explained in the docs or tutorials
- Security Scheme not found when included inside a Library
- AVRO Logical Types must be separate schemas HOT 1
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 raml-spec.