Skip to content

Commit

Permalink
Switchtoopenapigenerator (#3)
Browse files Browse the repository at this point in the history
* cleanup

* openapi generator

* removed test folder
  • Loading branch information
laliconfigcat authored Jun 5, 2023
1 parent d923276 commit cac4297
Show file tree
Hide file tree
Showing 288 changed files with 57,410 additions and 8,571 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/publicapi-go-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.14.x, 1.15.x, 1.16.x]
go: [1.18.x, 1.19.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -21,6 +21,10 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Get dependencies
run: |
go get -v -t -d ./...
go mod vendor
- name: Build
run: go build -v ./...
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ _testmain.go
*.exe
*.test
*.prof

# Dependency directories (remove the comment below to include it)
vendor/
6 changes: 3 additions & 3 deletions .swagger-codegen-ignore → .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Swagger Codegen Ignore
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
Expand Down
251 changes: 251 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
.gitignore
.travis.yml
README.md
api/openapi.yaml
api_audit_logs.go
api_code_references.go
api_configs.go
api_environments.go
api_feature_flag_setting_values.go
api_feature_flag_setting_values_using_sdk_key.go
api_feature_flags_settings.go
api_integration_links.go
api_me.go
api_members.go
api_organizations.go
api_permission_groups.go
api_products.go
api_sdk_keys.go
api_segments.go
api_tags.go
client.go
configuration.go
docs/AccessType.md
docs/AddOrUpdateIntegrationLinkModel.md
docs/AddOrUpdateJiraIntegrationLinkModel.md
docs/AddUserToGroupRequest.md
docs/AuditLogItemModel.md
docs/AuditLogType.md
docs/AuditLogsApi.md
docs/CodeReferenceRequest.md
docs/CodeReferencesApi.md
docs/ConfigModel.md
docs/ConfigModelHaljson.md
docs/ConfigModelHaljsonEmbedded.md
docs/ConfigModelHaljsonEmbeddedProduct.md
docs/ConfigModelHaljsonEmbeddedProductEmbedded.md
docs/ConfigModelHaljsonEmbeddedProductEmbeddedOrganization.md
docs/ConfigModelHaljsonEmbeddedProductEmbeddedOrganizationLinks.md
docs/ConfigModelHaljsonEmbeddedProductLinks.md
docs/ConfigModelHaljsonLinks.md
docs/ConfigSettingValueModel.md
docs/ConfigSettingValuesModel.md
docs/ConfigsApi.md
docs/ConnectRequest.md
docs/CreateConfigRequest.md
docs/CreateEnvironmentModel.md
docs/CreateOrUpdateEnvironmentAccessModel.md
docs/CreatePermissionGroupRequest.md
docs/CreateProductRequest.md
docs/CreateSegmentModel.md
docs/CreateSettingInitialValues.md
docs/CreateTagModel.md
docs/DeleteIntegrationLinkModel.md
docs/DeleteRepositoryReportsRequest.md
docs/EnvironmentAccessModel.md
docs/EnvironmentAccessType.md
docs/EnvironmentModel.md
docs/EnvironmentModelHaljson.md
docs/EnvironmentModelHaljsonLinks.md
docs/EnvironmentsApi.md
docs/EvaluationVersion.md
docs/FeatureFlagSettingValuesApi.md
docs/FeatureFlagSettingValuesUsingSDKKeyApi.md
docs/FeatureFlagsSettingsApi.md
docs/FlagReference.md
docs/InitialValue.md
docs/IntegrationLinkDetail.md
docs/IntegrationLinkDetailsModel.md
docs/IntegrationLinkModel.md
docs/IntegrationLinkType.md
docs/IntegrationLinksApi.md
docs/InviteMembersRequest.md
docs/JsonNode.md
docs/JsonNodeOptions.md
docs/JsonPatch.md
docs/JsonPointer.md
docs/JsonPointerKind.md
docs/MeApi.md
docs/MeModel.md
docs/MemberModel.md
docs/MembersApi.md
docs/OperationType.md
docs/OrganizationModel.md
docs/OrganizationModelHaljson.md
docs/OrganizationsApi.md
docs/PatchOperation.md
docs/PermissionGroupModel.md
docs/PermissionGroupModelHaljson.md
docs/PermissionGroupsApi.md
docs/PointerSegment.md
docs/ProductModel.md
docs/ProductModelHaljson.md
docs/ProductsApi.md
docs/ReferenceLine.md
docs/ReferenceLines.md
docs/RolloutPercentageItemModel.md
docs/RolloutRuleComparator.md
docs/RolloutRuleModel.md
docs/SDKKeysApi.md
docs/SdkKeysModel.md
docs/SegmentComparator.md
docs/SegmentListModel.md
docs/SegmentListModelHaljson.md
docs/SegmentModel.md
docs/SegmentModelHaljson.md
docs/SegmentsApi.md
docs/SettingDataModel.md
docs/SettingModel.md
docs/SettingModelHaljson.md
docs/SettingModelHaljsonEmbedded.md
docs/SettingModelHaljsonEmbeddedTagsInner.md
docs/SettingTagModel.md
docs/SettingType.md
docs/SettingValueModel.md
docs/SettingValueModelHaljson.md
docs/SettingValueModelHaljsonEmbedded.md
docs/SettingValueModelHaljsonEmbeddedConfig.md
docs/SettingValueModelHaljsonEmbeddedEnvironment.md
docs/SettingValueModelHaljsonEmbeddedIntegrationLinksInner.md
docs/SettingValueModelHaljsonEmbeddedSetting.md
docs/SettingValueModelHaljsonEmbeddedSettingTagsInner.md
docs/TagModel.md
docs/TagModelHaljson.md
docs/TagsApi.md
docs/UpdateConfigRequest.md
docs/UpdateEnvironmentModel.md
docs/UpdatePermissionGroupRequest.md
docs/UpdateProductRequest.md
docs/UpdateSegmentModel.md
docs/UpdateSettingValueModel.md
docs/UpdateSettingValueWithSettingIdModel.md
docs/UpdateSettingValuesWithIdModel.md
docs/UpdateTagModel.md
docs/UserModel.md
git_push.sh
go.mod
go.sum
model_access_type.go
model_add_or_update_integration_link_model.go
model_add_or_update_jira_integration_link_model.go
model_add_user_to_group_request.go
model_audit_log_item_model.go
model_audit_log_type.go
model_code_reference_request.go
model_config_model.go
model_config_model_haljson.go
model_config_model_haljson__embedded.go
model_config_model_haljson__embedded_product.go
model_config_model_haljson__embedded_product__embedded.go
model_config_model_haljson__embedded_product__embedded_organization.go
model_config_model_haljson__embedded_product__embedded_organization__links.go
model_config_model_haljson__embedded_product__links.go
model_config_model_haljson__links.go
model_config_setting_value_model.go
model_config_setting_values_model.go
model_connect_request.go
model_create_config_request.go
model_create_environment_model.go
model_create_or_update_environment_access_model.go
model_create_permission_group_request.go
model_create_product_request.go
model_create_segment_model.go
model_create_setting_initial_values.go
model_create_tag_model.go
model_delete_integration_link_model.go
model_delete_repository_reports_request.go
model_environment_access_model.go
model_environment_access_type.go
model_environment_model.go
model_environment_model_haljson.go
model_environment_model_haljson__links.go
model_evaluation_version.go
model_flag_reference.go
model_initial_value.go
model_integration_link_detail.go
model_integration_link_details_model.go
model_integration_link_model.go
model_integration_link_type.go
model_invite_members_request.go
model_json_node.go
model_json_node_options.go
model_json_patch.go
model_json_pointer.go
model_json_pointer_kind.go
model_me_model.go
model_member_model.go
model_operation_type.go
model_organization_model.go
model_organization_model_haljson.go
model_patch_operation.go
model_permission_group_model.go
model_permission_group_model_haljson.go
model_pointer_segment.go
model_product_model.go
model_product_model_haljson.go
model_reference_line.go
model_reference_lines.go
model_rollout_percentage_item_model.go
model_rollout_rule_comparator.go
model_rollout_rule_model.go
model_sdk_keys_model.go
model_segment_comparator.go
model_segment_list_model.go
model_segment_list_model_haljson.go
model_segment_model.go
model_segment_model_haljson.go
model_setting_data_model.go
model_setting_model.go
model_setting_model_haljson.go
model_setting_model_haljson__embedded.go
model_setting_model_haljson__embedded_tags_inner.go
model_setting_tag_model.go
model_setting_type.go
model_setting_value_model.go
model_setting_value_model_haljson.go
model_setting_value_model_haljson__embedded.go
model_setting_value_model_haljson__embedded_config.go
model_setting_value_model_haljson__embedded_environment.go
model_setting_value_model_haljson__embedded_integration_links_inner.go
model_setting_value_model_haljson__embedded_setting.go
model_setting_value_model_haljson__embedded_setting_tags_inner.go
model_tag_model.go
model_tag_model_haljson.go
model_update_config_request.go
model_update_environment_model.go
model_update_permission_group_request.go
model_update_product_request.go
model_update_segment_model.go
model_update_setting_value_model.go
model_update_setting_value_with_setting_id_model.go
model_update_setting_values_with_id_model.go
model_update_tag_model.go
model_user_model.go
response.go
test/api_audit_logs_test.go
test/api_code_references_test.go
test/api_configs_test.go
test/api_environments_test.go
test/api_feature_flag_setting_values_test.go
test/api_feature_flag_setting_values_using_sdk_key_test.go
test/api_feature_flags_settings_test.go
test/api_integration_links_test.go
test/api_me_test.go
test/api_members_test.go
test/api_organizations_test.go
test/api_permission_groups_test.go
test/api_products_test.go
test/api_sdk_keys_test.go
test/api_segments_test.go
test/api_tags_test.go
utils.go
1 change: 1 addition & 0 deletions .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.6.0
1 change: 0 additions & 1 deletion .swagger-codegen/VERSION

This file was deleted.

Loading

0 comments on commit cac4297

Please sign in to comment.