SurfGen icon indicating copy to clipboard operation
SurfGen copied to clipboard

Powerful codegen tool for generating whatever you what from OpenAPI

Results 13 SurfGen issues
Sort by recently updated
recently updated
newest added

Currently the lint command fails for each error and shows the latest error, so developers must fix api errors one by one. It would be great if linter showed all...

enhancement
Major
3

Closes #64 ### Done: - taking path parameters from `Path` object instead of `Operation` - giving warning if path parameters are declared in `Operation` ### Details: First, let's compare two...

If swagger has features which are not supported yet: ``` paths: /auth/login: $ref: "./auth/auth_login.yml" schemas: $ref: "./definitions.yml" ``` than `surfGen lint` command will be successful anyway (probably because linter has...

Minor
3

macOs Big Sur, M1 If XCode is not installed, command `make executable` will return error: ``` swift build --configuration release error: terminated(72): /usr/bin/xcrun --sdk macosx --find xctest output: xcrun: error:...

enhancement
1

At this moment SurfGen can't handle case when `group` is declared under a property. For example: ```YAML AnyObject: type: object properties: anyProperty: oneOf: - $ref: "..." ``` This case won't...

enhancement
3

At this moment SurfGen will throw error when `group` has array. For example: ```YAML WebSocketServerEvent: oneOf: - type: array items: $ref: '../common/models.yaml#/components/schemas/Identifier' ``` Seems like that we can generate code...

enhancement
3

Dart like other programming languages have list of keyword, which should not be used as any names. It would be useful have opportunity set list of banned words for naming...

enhancement
2

for example ```yml /images: post: summary: Add an image description: Add an image required for application operationId: add-image tags: - images security: - bearerAuth: [ ] parameters: - $ref: '#/components/parameters/userId'...

enhancement
3

Now when we create model for code generation we gather URI's path parameters only from first operation ```Swift self.parameters = pathModel.operations[0].pathParameters ``` And it seems wrong

bug
enhancement
Minor
1

The generated model does not contain any imports of the classes used. For DTOs, this can be resolved by creating all DTOs in one place and using a custom file...

enhancement