GithubHelp home page GithubHelp logo

Comments (10)

RomanHotsiy avatar RomanHotsiy commented on August 15, 2024 2

@hicksjacobp released beta.12.

We're just waiting to get some more feedback on this release. We hope to publish 1.0 soon.

from redocly-cli.

adamaltman avatar adamaltman commented on August 15, 2024 2

Also, I'll open a roadmap to a release candidate and then a general release version 1 tracking issue for transparency.

We make Redoc and plan to gain feedback from the Redoc community prior to the general release.

from redocly-cli.

adamaltman avatar adamaltman commented on August 15, 2024 2

I opened the release/roadmap tracking issue here: #203

(I'll add a target date to the release candidate as we get towards the end of this month and some of the work is done or better estimated.)

from redocly-cli.

hicksjacobp avatar hicksjacobp commented on August 15, 2024 1

I'm not sure what the original issue was, but I am having issues on Windows as well. To demonstrate, I created a brand new API specification with the defaults:

Click to see details
❯ npx create-openapi-repo
Welcome to the OpenAPI-Repo generator!
? Do you already have an OpenAPI/Swagger 3.0 definition for your API? No
? API Name: redocly-test
? Prepare manual code samples folder? No
? The following folders will be created: openapi and docs
You can change them by running create-openapi-repo <openapiDir> <docsDir>
Proceed? Yes

Creating a new OpenAPI repo in C:\repos\redocly-test

Installing packages. This might take a couple of minutes.

+ @redocly/[email protected]
added 86 packages from 137 contributors and audited 87 packages in 10.249s

7 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities


Initialized empty Git repository in C:/repos/redocly-test/.git/


Success! Created openapi folder.
You can run several commands:

  npm start
    Starts the development server.

  npm run build
    Bundles the definition.

  npm test
    Validates the definition.

We suggest that you begin by typing:

  npm start

With building, it produces a dist.yaml which contains improper references to components (just a snippet is shown):

      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/C:\repos\redocly-test\openapi\components\schemas\User
              example:
                username: user1
                email: [email protected]

My package.json is referencing openapi-cli ^1.0.0-beta.11

from redocly-cli.

knidarkness avatar knidarkness commented on August 15, 2024

Thank you for your information, @rkrauskopf. I will check this ASAP.

from redocly-cli.

rkrauskopf avatar rkrauskopf commented on August 15, 2024

Thank you!

from redocly-cli.

adamaltman avatar adamaltman commented on August 15, 2024

I think this may be fixed now. @RomanHotsiy can you please confirm?

from redocly-cli.

adamaltman avatar adamaltman commented on August 15, 2024

Thanks for the report, @hicksjacobp ...

from redocly-cli.

Blacklands avatar Blacklands commented on August 15, 2024

I just saw this, and since I'm also on Windows I checked as well.
I'm having the same problem as @hicksjacobp reports. This also happens when using the openapi bundle command on any multi-file specification (for YAML at least, I don't know about JSON). Never noticed this before since I never really used the bundle feature yet.
EDIT: I'm on version 1.0.0-beta.11 as well.

from redocly-cli.

hicksjacobp avatar hicksjacobp commented on August 15, 2024

Thanks for fixing this quickly! When can a new build be expected? Also, is there timeline or remaining issues list for the 1.0 release?

from redocly-cli.

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.