oasis-open / odata-rapid

Rapid - Specification, tools and libraries to support the development and adoption of simple REST-based APIs.
https://rapid.rocks
Apache License 2.0
17 stars 8 forks source link

Update Tools -- add odata-explorer #314

Closed mikepizzo closed 2 years ago

mikepizzo commented 2 years ago

-fix odataUri/src/path.ts to get model and entity container names from $entityContainer -add new overload to urlEditor to load schema from json-csdl -update api-designer to use new overload -remove unused service generation controls from api-designer -add new odata-explorer -update package dependencies

mikepizzo commented 2 years ago

I'm now getting an issue (@parcel/transformer-css: Unexpected token Delim('*') in swagger-ui.css) when I try to npm start api-designer (after building all of the dependencies), but it doesn't appear to be related to my changes (I get the same error if I clone a fresh copy of the current repo, although older versions continue to build/run fine). would be great if someone could pull this down and make sure all of the tools still build and that npm start works for api-designer. would also be great if anyone could shed some light on why @parcel/transformer-css no longer likes swagger-ui.css on my machine (using latest (8.8.0) npm)

ralfhandl commented 2 years ago

I get the same error when building from scratch, using Node.js v16.13.1 and npm 8.7.0.

We might want to check the package-lock.json files into our repositories. That would allow us to pin direct and indirect dependencies, and spot which ones change in a "fresh" install.

ralfhandl commented 2 years ago

@mikepizzo I have a fix for the build issues on the main branch in #341.

I propose to first merge #341 and then sync this branch/PR with main.

mikepizzo commented 2 years ago

Okay; integrated Ralf's changes, enabled SwaggerUi, and fixed Visual Designer.

Everything now compiles/runs, with a few issues:

mikepizzo commented 2 years ago

Created issues for the 2 open items for the Visual Schema Editor. Would like to merge these changes, as they are improvements across the tools, and then continue to iterate on the open items.