Hi everyone!
filip26 / eiger Goto Github PK
View Code? Open in Web Editor NEWApplication-Level Profile Semantics (ALPS) Processor, CLI, Service
Home Page: https://eiger.apicatalog.com
License: Apache License 2.0
Application-Level Profile Semantics (ALPS) Processor, CLI, Service
Home Page: https://eiger.apicatalog.com
License: Apache License 2.0
Hi everyone!
A JNI error has occurred. The current Download Java for Mac OS X page provides Java class file version 52.0 download but your program compiled with version 55.0.
% alps.sh
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/apicatalog/alps/cli/AlpsCommand has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Is your feature request related to a problem? Please describe.
An unknown content (attributes,elements) is silently ignored by a parser.
Describe the solution you'd like
A warning should be printed to a console.
Use GraalVM and GitHub actions to compile native executables
Is your feature request related to a problem? Please describe.
ALPS+YAML should be supported as an alternative representation to ALPS+XML and ALPS+JSON
Describe the solution you'd like
To keep the new representation simple and coherent with the existing ones a strict YAML approach should be taken.
Describe the solution you'd like
add mvnw and mvnw.cmd commands to the root directory to allow building the project without having Maven installed.
Rationale: Uber JAR holds all required dependencies and can be downloaded as a single file.
Describe the bug
Try to convert ALPS using https://eiger.apicatalog.com/, alps.title element & descriptor.def attribute have not been converted.
To Reproduce
Input this xml.
<?xml version="1.0" encoding="UTF-8"?>
<alps version="1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://alps-io.github.io/schemas/alps.xsd">
<title>MyAlps</title>
<descriptor id="id" def="https://schema.org/identifier"/>
</alps>
Output this json.
{
"alps": {
"version": "1.0",
"descriptor": {
"id": "id",
"type": "semantic"
}
}
}
Expected behavior
Output this json.
{
"alps": {
"version": "1.0",
"title": "MyAlps",
"descriptor": {
"id": "id",
"type": "semantic",
"def": "https://schema.org/identifier"
}
}
}
Additional context
see alps-io/spec#91
See alps-io/spec#87
Describe the bug
A custom attribute on 'ext' element is ignored, but should be parsed and processed as a custom attribute.
To Reproduce
"ext": [
{
"type": "metadata",
"id": "title",
"name": "title",
"value": "Company API",
"tags": "oas"
},
{
"type": "metadata",
"id": "id",
"name": "id",
"value": "http://alps.io/profiles/mamund/company",
"tags": "oas"
},
{
"type": "metadata",
"id":"root",
"name": "root",
"value": "http://api.example.org/company",
"tags": "oas"
}
]
name
, type
and tags
are ignored
Expected behavior
name
, type
and tags
should be parsed and processed as custom attributes
see alps-io/spec#88
When the value converted by https://eiger.apicatalog.com/ is a large value that requires scrolling,
it is very difficult to copy.
I've tried it in Chrome and Safari on my Mac, and it's equally difficult; Please heck in Chrome.
It would be nice if it could be downloaded.
Re-brand the repository name, artifacts, packages, etc. to use code name eiger
instead of alps
$ wget -q -O- https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml | alps.sh transform --source=oas --target=xml --pretty --verbose
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
e.g. format
in favor contenType
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.