Comments (11)
OK no worries. I'm going to transfer this issue over to the Registry GitHub repository for tracking there.
from apicurio-registry.
@carlesarnal can you have a look at this?
from apicurio-registry.
Thanks for the bug report. I'll have to dig into this one to see what options we have in our YAML library...
from apicurio-registry.
Hi, any news or workaround on this? I uploaded a YAML using the Java client but the removal of quotes and braces makes the documentation tab not able to render(and the artifact useless).
Edit: Basically, if I upload it using the UI, I am able to download it as an InputStream and then convert it to YAML without an issue, what seems broken is the upload.
Thanks in advance
from apicurio-registry.
Can you confirm which project this actually impacts? From your most recent comment it sounds like this is a problem with Registry? You mention a Documentation tab, which suggests Registry rather than Studio.
from apicurio-registry.
from apicurio-registry.
Hi @teksuo, first of all, which version of the Registry are you using? We recently released 2.0.0.Final
with several changes to the rest client.
from apicurio-registry.
Hi @carlesarnal , I am using the 1.3.2.Final, as it is the latest available in maven central:
https://mvnrepository.com/artifact/io.apicurio/apicurio-registry-rest-client
from apicurio-registry.
Hi @teksuo, take a look at this. The rest-client has been fully replaced by a new version using the JDK HTTP client. Could you give it a try?
Thanks!
from apicurio-registry.
Hi @carlesarnal , I have switched the client version and updated the server, also set the new endpoint to ".../apis/registry/v2" as stated in the updated sample (although the docs seems to be still outdated). Current client code would be as simple as:
var client = RegistryClientFactory.create("http://<server_url>/apis/registry/v2); client.createArtifact(GROUP_ID, API_NAME, ArtifactType.OPENAPI, IfExists.RETURN, schema);
where schema
is a validated InputStream from my yaml file.
The nice part is that now I can download exactly the same file I am uploading, although the rendering of the "documentation" tab still returns a blank page (which I can definitely live with).
Thanks a lot
from apicurio-registry.
Hi @teksuo, glad you fixed that problem with the client, since we have a persistent problem with the documentation tab, let's close this and open a new issue to track the progress for that. Could you please create it and describe the situation there? Thanks!
from apicurio-registry.
Related Issues (20)
- Change application base image to use jdk runtime image to help with CVE resolution
- Add support for autoregister artifacts in the json serdes
- Some api methods are not authorized behind https reverse proxy HOT 1
- Can't redefine exception in the Client with AvroKafkaDeserializer HOT 4
- Wrong configuration used for checking the legacy id in ccompat v6
- "Upload multiple artifacts" showing in read-only UI HOT 2
- how can i change base image from redhat into debian? HOT 4
- mvn clean install causes this problem HOT 3
- Evaluate Enhancements for FIPS Compatibility HOT 1
- CockroachDB support HOT 4
- APICURIO API hardcodes 'artifacts' part in schema registry url HOT 4
- ccompat api missing field in answer HOT 1
- Create migration table for application properties for migrating from 2.x to 3.x
- 2.5.11 release notes not accurate HOT 4
- Question about postgres storage HOT 1
- Test Update Artifact v2 requires write permissions HOT 3
- Make kafka connect converters compatible with `ServiceLoad` mode of `plugin.discovery` HOT 1
- Unable to connect to AWS MSK with IAM auth HOT 1
- Search API count query takes a lot of db time
- Authentication with schema registry using Strimzi-Generated scram-sha-512 credentials 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 apicurio-registry.