Giter VIP home page Giter VIP logo

Comments (2)

ppazos avatar ppazos commented on May 23, 2024

ping @sebastian-iancu

from specifications-its-rest.

ppazos avatar ppazos commented on May 23, 2024

I found this line on bundle.sh

docker-compose run --rm redocly build-docs computable/OAS/"$1"-html.openapi.json --cdn ...

Removed the --cdn option (which is not documented by redocly CLI) and the error went away.

But I got other errors about references not being resolved. These are not related with the changes I did:

Creating yaml files...
bundling computable/OAS/demographic-codegen.openapi.json...
[1] computable/OAS/demographic-codegen.openapi.json:1077:40 at #/components/schemas/Locatable/discriminator/mapping/COMPOSITION

Can't resolve $ref

1075 | "propertyName": "_type",
1076 | "mapping": {
1077 |     "COMPOSITION": "#\/components\/schemas\/Composition",
1078 |     "EHR_STATUS": "#\/components\/schemas\/EhrStatus",
1079 |     "FOLDER": "#\/components\/schemas\/Folder"

Error was generated by the bundler rule.


[2] computable/OAS/demographic-codegen.openapi.json:1078:39 at #/components/schemas/Locatable/discriminator/mapping/EHR_STATUS

Can't resolve $ref

1076 | "mapping": {
1077 |     "COMPOSITION": "#\/components\/schemas\/Composition",
1078 |     "EHR_STATUS": "#\/components\/schemas\/EhrStatus",
1079 |     "FOLDER": "#\/components\/schemas\/Folder"
1080 | }

Error was generated by the bundler rule.


[3] computable/OAS/demographic-codegen.openapi.json:1079:35 at #/components/schemas/Locatable/discriminator/mapping/FOLDER

Can't resolve $ref

1077 |         "COMPOSITION": "#\/components\/schemas\/Composition",
1078 |         "EHR_STATUS": "#\/components\/schemas\/EhrStatus",
1079 |         "FOLDER": "#\/components\/schemas\/Folder"
1080 |     }
1081 | }

Error was generated by the bundler rule.


[4] computable/OAS/demographic-codegen.openapi.json:1077:40 at #/components/schemas/Locatable/discriminator/mapping/COMPOSITION

Can't resolve $ref

1075 | "propertyName": "_type",
1076 | "mapping": {
1077 |     "COMPOSITION": "#\/components\/schemas\/Composition",
1078 |     "EHR_STATUS": "#\/components\/schemas\/EhrStatus",
1079 |     "FOLDER": "#\/components\/schemas\/Folder"

Error was generated by the bundler rule.


[5] computable/OAS/demographic-codegen.openapi.json:835:53 at #/components/schemas/DvInterval/discriminator/mapping/DV_INTERVAL_of_DATE_TIME

Can't resolve $ref

833 |     "mapping": {
834 |         "DV_INTERVAL": "#\/components\/schemas\/DvInterval",
835 |         "DV_INTERVAL_of_DATE_TIME": "#\/components\/schemas\/DvIntervalOfDateTime"
836 |     }
837 | },

Error was generated by the bundler rule.


[6] computable/OAS/demographic-codegen.openapi.json:835:53 at #/components/schemas/DvInterval/discriminator/mapping/DV_INTERVAL_of_DATE_TIME

Can't resolve $ref

833 |     "mapping": {
834 |         "DV_INTERVAL": "#\/components\/schemas\/DvInterval",
835 |         "DV_INTERVAL_of_DATE_TIME": "#\/components\/schemas\/DvIntervalOfDateTime"
836 |     }
837 | },

Error was generated by the bundler rule.


[7] computable/OAS/demographic-codegen.openapi.json:132:53 at #/components/schemas/DataValue/discriminator/mapping/DV_INTERVAL_of_DATE_TIME

Can't resolve $ref

130 | "DV_IDENTIFIER": "#\/components\/schemas\/DvIdentifier",
131 | "DV_INTERVAL": "#\/components\/schemas\/DvInterval",
132 | "DV_INTERVAL_of_DATE_TIME": "#\/components\/schemas\/DvIntervalOfDateTime",
133 | "DV_MULTIMEDIA": "#\/components\/schemas\/DvMultimedia",
134 | "DV_ORDERED": "#\/components\/schemas\/DvOrdered",

Error was generated by the bundler rule.


[8] computable/OAS/demographic-codegen.openapi.json:132:53 at #/components/schemas/DataValue/discriminator/mapping/DV_INTERVAL_of_DATE_TIME

Can't resolve $ref

130 | "DV_IDENTIFIER": "#\/components\/schemas\/DvIdentifier",
131 | "DV_INTERVAL": "#\/components\/schemas\/DvInterval",
132 | "DV_INTERVAL_of_DATE_TIME": "#\/components\/schemas\/DvIntervalOfDateTime",
133 | "DV_MULTIMEDIA": "#\/components\/schemas\/DvMultimedia",
134 | "DV_ORDERED": "#\/components\/schemas\/DvOrdered",

Error was generated by the bundler rule.

from specifications-its-rest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.