Skip to content

Commit

Permalink
(PC-ABCDE) feat: split cine films search groups
Browse files Browse the repository at this point in the history
  • Loading branch information
tconte-pass committed Sep 9, 2024
1 parent 31b14a2 commit dc6fc89
Show file tree
Hide file tree
Showing 24 changed files with 9,146 additions and 206 deletions.
3 changes: 2 additions & 1 deletion .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ SENTRY_PROFILES_SAMPLE_RATE=1.0
SENTRY_TRACES_SAMPLE_RATE=1.0

# API
API_BASE_URL=https://backend.testing.passculture.team
# API_BASE_URL=https://backend.testing.passculture.team
API_BASE_URL=http://localhost:5001
RESIZE_IMAGE_ON_DEMAND_URL=https://image-resizing.testing.passculture.team
GCP_IMAGE_COULD_STORAGE_NAME=passculture-metier-ehp-testing-assets-fine-grained

Expand Down
Empty file added algolia_query.json
Empty file.
1 change: 1 addition & 0 deletions results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/generate_api_client_silicon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ docker run \
--rm \
--volume "${PWD}:/local" \
"parsertongue/swagger-codegen-cli:${SWAGGER_CODEGEN_CLI_VERSION:-'latest'}" generate \
--input-spec https://backend.testing.passculture.team/native/openapi.json `# schema location` \
--input-spec http://localhost:5001/native/openapi.json \
--lang typescript-fetch `# client type` \
--config /local/swagger_codegen/swagger_codegen_config.json `# swagger codegen config` \
--template-dir /local/swagger_codegen/gen_templates `# templates directory` \
Expand Down
4 changes: 1 addition & 3 deletions src/api/api.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { env } from 'libs/environment'

import { Configuration } from './gen'
import { DefaultApi } from './gen/api'

const configuration: Configuration = {
basePath: env.API_BASE_URL,
basePath: 'http://localhost:5001', //env.API_BASE_URL,
}

export const api = new DefaultApi(configuration)
Loading

0 comments on commit dc6fc89

Please sign in to comment.