Comments (5)
Unfortunately not, though we could add a specification extension to mark it if you are using your own tools to post process?
from aws2openapi.
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.
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.
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.
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)
- Duplicate Operation Paging Parameters in S3
- The info.contact.x-twitter field causes openapi-generator to fail HOT 7
- The "members" attribute in the AWS service definition is literally a list of "member" objects HOT 7
- Add tests using moto and pyopenapi HOT 6
- Unexpected "get" requests in generated openapi spec HOT 2
- text/xml in iam spec instead of application/xml, which is what the OpenAPI 3.0 spec supports HOT 3
- The "operationId" field shouldn't have spaces HOT 2
- Converter missing response mappings HOT 1
- x-amz-meta- is wrong for AWS S3 PutObject API HOT 1
- Body in PutObject, UploadPart API's type should by string instead of object HOT 2
- Wrong error response for HeadObject in s3 HOT 3
- S3 API's error not handled correctly HOT 1
- Incorrect usage of additional properties besides $ref for EC2 OpenAPI3 Swagger file HOT 1
- Openapi for endpoints that have pagination end up with duplicate parameters HOT 1
- Incorrect variable type defined in the yaml file
- unexpected multi-type 'allOff' references in runtime.lex.v2 spec
- Support signatureVersion: bearer
- Exception definitions not included
- Duplicate entries in Servers Object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws2openapi.