You either need to host the file or embed it in the index.html.

 

 

 

From: <[email protected]> on behalf of Aidon Jennery <[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Monday, October 23, 2017 at 12:29
To: "[email protected]" 
<[email protected]>
Subject: Re: OpneAPI 3.0 Documentation Generation

 

Thanks, Ron.  Is there a trick to pointing it to a local file that I'm missing? 
 I get "Failed to load spec." no matter what I try.

 

Cheers,

Aidon.

 

On Mon, Oct 23, 2017 at 9:45 AM, Ron Ratovsky <[email protected]> wrote:

Hi Aidon,

 

The codegen doesn’t support OAS3 yet.

The editor simply uses Swagger-UI to render the definitions, you can use that 
directly.

 

 

 

 

From: <[email protected]> on behalf of Aidon 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Monday, October 23, 2017 at 09:33
To: Swagger <[email protected]>
Subject: OpneAPI 3.0 Documentation Generation

 

I have some OpenAPI 3.0 definitions and I just want to generate some 
documentation for them (HTML - not overly fussed as to which type.)  Is there 
an easy way to do this?

I tried the 3.0.0 swagger-codegen-cli-3.0.0.jar (10/19) and that doesn't seem 
to work:
Exception in thread "main" java.lang.RuntimeException: missing swagger input or 
config!
        at 
io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:687)

The new online editor generates documentation to display on the right, is there 
any easy way to export or generate this?

I feel I'm missing something very simple.

Cheers,
Aidon.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

 

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to