If you want to use both Swagger and Javadoc for your web development project, you can do so by using a tool or a plugin that can convert your Javadoc comments to OAS files, or vice versa. For example, you can use the swagger-javadoc plugin for Maven or Gradle, which can generate OAS files from your Javadoc comments, or the javadoc-to-swagger plugin for IntelliJ IDEA, which can generate Javadoc comments from your OAS files. This way, you can benefit from both the features and functionalities of Swagger and Javadoc, without having to write and maintain two separate sets of documentation.