Code Monkey home page Code Monkey logo

Comments (5)

MikeRalphson avatar MikeRalphson commented on May 26, 2024

Unfortunately not, though we could add a specification extension to mark it if you are using your own tools to post process?

from aws2openapi.

ClementMindflow avatar ClementMindflow commented on May 26, 2024

That would be awesome !

As of now we are manually patching the schema to tag the appropriate field with an awsMember flag to handle them the right way.

If you explain me to run the aws2openapi against the source aws schema, i could patch it.

By the way: Where are located the source aws schema ( i guess in smithy format ) ?

from aws2openapi.

MikeRalphson avatar MikeRalphson commented on May 26, 2024

Apologies for the lack of proper docs. If you checkout https://github.com/aws/aws-sdk-js in a sibling directory to a checkout of aws2openapi (in the latter where you have run npm i) running node aws2openapi should process all the smithy (or smithy-like?) files in https://github.com/aws/aws-sdk-js/tree/master/apis to the ./aws/ directory.

from aws2openapi.

ClementMindflow avatar ClementMindflow commented on May 26, 2024

Awesome thanks !
One other question:
Why don't you use the software.amazon.smithy:smithy-openapi plugin for the Smithy Gradle plugin provided by smithy to generate the OpenAPI ?

from aws2openapi.

MikeRalphson avatar MikeRalphson commented on May 26, 2024

Why don't you use the software.amazon.smithy:smithy-openapi plugin for the Smithy Gradle plugin provided by smithy to generate the OpenAPI ?

I don't think that package was available/open-source when aws2openapi was created. Also I'm not a Java developer, so I don't use or have any experience with Gradle.

The openapi plugin is highly configurable to support different OpenAPI tools and vendors.

We try and create a generic best-case OpenAPI definition, we would have to be opinionated about what plugin options we set.

from aws2openapi.

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.