Skip to content

Graph API android client no longer building due to problem with swagger JSON #43

Description

@dmccarthy-dev

Get the following error from the compiled code

[ERROR] /home/vagrant/repos/openi_android_sdk/swagger-codegen/generated-code/android-java/src/main/java/eu/openiict/client/api/BadgeApi.java:[95,28] error: cannot find symbol
[ERROR] class BadgeApi
/home/vagrant/repos/openi_android_sdk/swagger-codegen/generated-code/android-java/src/main/java/eu/openiict/client/api/BadgeApi.java:[126,39] error: cannot find symbol
[ERROR] class BadgeApi
/home/vagrant/repos/openi_android_sdk/swagger-codegen/generated-code/android-java/src/main/java/eu/openiict/client/api/BadgeApi.java:[157,39] error: cannot find symbol

generated source looks like this....

public Badge badgeDetail (undefined id) throws ApiException {

and original swagger looks like this

"parameters": [
{
"paramType": "path",
"required": true,
"name": "id",
"description": "Primary key of resource",
"type": "undefined"
}
],

"type": "undefined" is your problem

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions