- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for setLine (0.03 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
MavenProject module = new MavenProject(moduleModel); module.setFile(new File("module-dir/pom.xml")); Model parentModel = new Model(); parentModel.addModule("../module-dir"); MavenProject parent = new MavenProject(parentModel); parent.setFile(new File("parent-dir/pom.xml")); String pathAdjustment = parent.getModulePathAdjustment(module);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 28 09:44:37 UTC 2025 - 9.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
Artifact a = createArtifact("a", "0.0.1-SNAPSHOT"); File file = new File(localRepository.getBasedir(), localRepository.pathOf(a)); file.delete(); a.setFile(file); File touchFile = updateCheckManager.getTouchfile(a); touchFile.delete(); assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository)); file.getParentFile().mkdirs();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 9K bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
For example, you could disable syntax highlighting in Swagger UI. Without changing the settings, syntax highlighting is enabled by default: <img src="/img/tutorial/extending-openapi/image02.png"> But you can disable it by setting `syntaxHighlight` to `False`: {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *} ...and then Swagger UI won't show the syntax highlighting anymore:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/en/docs/how-to/conditional-openapi.md
For example: {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *} Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`. And then we use it when creating the `FastAPI` app. Then you could disable OpenAPI (including the UI docs) by setting the environment variable `OPENAPI_URL` to the empty string, like: <div class="termy"> ```consoleRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.4K bytes - Viewed (0) -
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py
client = TestClient(tutorial001_py39.app) return client def test_disable_openapi(monkeypatch): monkeypatch.setenv("OPENAPI_URL", "") # Load the client after setting the env var client = get_client() response = client.get("/openapi.json") assert response.status_code == 404, response.text response = client.get("/docs") assert response.status_code == 404, response.textRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 1.7K bytes - Viewed (0) -
scripts/topic_repos.py
if repos_old_content == new_repos_content: logging.info("The data hasn't changed. Finishing.") return repos_path.write_text(new_repos_content, encoding="utf-8") logging.info("Setting up GitHub Actions git user") subprocess.run(["git", "config", "user.name", "github-actions[bot]"], check=True) subprocess.run( ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"],Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 12:34:01 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/en/docs/tutorial/metadata.md
* **Swagger UI**: served at `/docs`. * You can set its URL with the parameter `docs_url`. * You can disable it by setting `docs_url=None`. * **ReDoc**: served at `/redoc`. * You can set its URL with the parameter `redoc_url`. * You can disable it by setting `redoc_url=None`. For example, to set Swagger UI to be served at `/documentation` and disable ReDoc:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5.9K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
If the client tries to go to `/items`, by default, it would be redirected to `/items/`. But before setting the *CLI Option* `--forwarded-allow-ips` it could redirect to `http://localhost:8000/items/`. But maybe your application is hosted at `https://mysuperapp.com`, and the redirection should be to `https://mysuperapp.com/items/`. By setting `--proxy-headers` now FastAPI would be able to redirect to the right location. 😎 ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.4K bytes - Viewed (0) -
scripts/contributors.py
new_content=top_translations_reviewers, ), ] if not any(updated): logging.info("The data hasn't changed, finishing.") return logging.info("Setting up GitHub Actions git user") subprocess.run(["git", "config", "user.name", "github-actions[bot]"], check=True) subprocess.run( ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"],Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 12:34:01 UTC 2025 - 8.6K bytes - Viewed (0) -
scripts/sponsors.py
content_path=github_sponsors_path, new_content=github_sponsors ) if not updated: logging.info("The data hasn't changed, finishing.") return logging.info("Setting up GitHub Actions git user") subprocess.run(["git", "config", "user.name", "github-actions[bot]"], check=True) subprocess.run( ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"],Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 12:34:01 UTC 2025 - 6.1K bytes - Viewed (0)