aws2openapi
aws2openapi copied to clipboard
Amazon Web Services API description to OpenAPI 3.0 definition
Link to full JSON: https://api.apis.guru/v2/specs/amazonaws.com/backup/2018-11-15/openapi.json servers list has duplicated entries. ``` "servers": [ { "url": "http://backup.{region}.amazonaws.com", "variables": { "region": { "description": "The AWS region", "enum": [ "us-east-1", "us-east-2", "us-west-1", "us-west-2",...
There appear to be missing definitions for exceptions. For example `InvalidArn` is one of the exceptions in the `states` SDK API but the definition is [missing in the generated schema](https://github.com/APIs-guru/openapi-directory/blob/88bba6f7518f7c548ed2b8bcac45ca80b474132c/APIs/amazonaws.com/states/2016-11-23/openapi.yaml#L1696)...
Some AWS services like CloudFormation allow to pass array of values as query parameters. Exemple of this, the `StackStatusFilter` of the [ListStacks](https://petstore.swagger.io/?url=https://api.apis.guru/v2/specs/amazonaws.com/cloudformation/2010-05-15/openapi.json#/default/GET_ListStacks) action in CloudFormation api. When "serializing" this array...
For this and other issues, we may be able to learn things from [fromsmithy](https://github.com/awslabs/smithy/blob/main/smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/OpenApiConverter.java)
- only keep them where we actually have multiple types that are accepted
the generated specification contains unexpected 'allOf' references: https://github.com/APIs-guru/openapi-directory/blob/main/APIs/amazonaws.com/runtime.lex.v2/2020-08-07/openapi.yaml this brakes openAPi client generators: such as swagger-codegen maven plugin for java. I'll suggest a PR later on this days
Hi, I'm an R package developer and find this project is very useful. Thanks for the hard works! Recently I realize there is an incorrect variable type in the yaml...
Here is a link to the openapi.json for Amazon Connect Service https://api.apis.guru/v2/specs/amazonaws.com/connect/2017-08-08/openapi.json In the above file `#/paths/~1contact-flows-summary~1{InstanceId}/get/parameters` is ``` "parameters": [ { "description": "The identifier of the Amazon Connect instance.",...
According to the `PutObject` operation documented in the AWS S3 Swagger doc [here](https://github.com/APIs-guru/openapi-directory/blob/3ff52758633210dda9b47fa76321ced9717d6d02/APIs/amazonaws.com/s3/2006-03-01/swagger.yaml#L2254-L2267), the body takes the following format: ```yaml - name: body in: body required: true schema: type: object...
In the AWS service definition you're using as a source for this, there's a ["members" field](https://github.com/aws/aws-sdk-js/blob/master/apis/iam-2010-05-08.normal.json#L6753): ``` "ListUsersResponse": { "type": "structure", "required": [ "Users" ], "members": { "Users": { "shape":...