Jump to content

Deckard

Member
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

Personal Information

  • Field of Work
    Other
  • Country
    US
  • 3D printer
    Ultimaker 3
  1. I apologize for the distractions here. I really feel like a dummy. I started with the Swagger Codegen tool and it refused to ingest that JSON file complaining that it was malformed for an API spec. However, NSwag Studio will ingest it just fine. Scratching my head. Thanks for your patience.
  2. Hi Carlo, Thanks very much for your response. I'm afraid that I have caused some confusion here by not being very clear on what I'm after. I apologize. When I say "spec" I am referring to the Swagger specification file that defines the API, and is subsequently used as to generate the documentation, the server stubs, and client bindings. This is a YAML file or can also be interchanged as JSON. It is this file, literally the specification of the API, in which I'm interested. It was formerly called the Swagger Specification but is now called the OpenAPI Specification. This file can be used as an input to the Swagger Codegen client generation tool (or other tools). See here: https://swagger.io/tools/swagger-codegen/ With the specification in hand, client source code can be automatically generated targeting a large number of languages and the client needn't be coded by hand. I've searched the web and the Ultimaker github repos, and I have not been able to find it. Is it possible to get this file posted somewhere? Thanks, Deckard
  3. Thanks, tinkergnome. I'm not after the human readable doc, I'm after the JSON file that defines the API so I can generate a client with my chosen language bindings. Is that served up somewhere in the printer perhaps? If so, I haven't been able to find it.
  4. Hi, I’m new here and I, too, would like to generate a client. Can someone point me to a spec that I can use as an input to the Swagger tools? I’ll even take the buggy one for now. Thanks, Deckard
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!