Comments (3)
The issue was related to lack of file://
schema when trying to load the API.
I was discussing this issue with @antoniogarrote.
First of all it should give more constructing feedback with error message. I wouldn't be able to figure it out by myself that this is missing proper schema.
Secondly, local paths should be supported by AMF. This is what would be expected from node library. It is natural among all node libraries to provide path to a file like ./path/to/a/file.raml
instead of file://path/to/a/file.raml
. This is very uncommon.
from amf.
https://www.mulesoft.org/jira/browse/APIMF-614
from amf.
Done in jira issue
from amf.
Related Issues (20)
- Validation throws an exception when loading parsed AMF Graph with examples in types HOT 2
- How to distinguish NilShape and AnyShape? HOT 2
- Recursive union type silently breaks union structure HOT 6
- Cannot compute inheritance from union when specializing a union property with the `type` keyword HOT 2
- Windows version keeps using relative paths when parser accepts absolute path HOT 2
- Recursive shapes and manual traverse on raw model HOT 3
- Recursive object property HOT 2
- Using functionConstraint in validations HOT 3
- Using an Array in a custom extension HOT 4
- Trying to parse async specification file through java HOT 2
- Please provide the link for AMF playground HOT 4
- Not Able to read description for asyncApi HOT 9
- Not able to find readable object for Channels,Components and payloads. HOT 7
- Not able to find readable object for Channels,Components and payloads HOT 1
- Conversion of payload removes required array HOT 1
- inconsistency for validate spec || When using the playground for testing, the file appears valid but, when using the validate method, it appears invalid. HOT 3
- draft
- Parsing support for OAS 3.1
- RAML file references are not resolved on Windows
- Annotations are not validated for types in referenced files
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 amf.